修改订单逻辑
This commit is contained in:
@@ -10,10 +10,11 @@ class Order extends Model
|
||||
protected $name = 'order';
|
||||
|
||||
//订单类型
|
||||
const NORMAL_ORDER = 0;//普通订单
|
||||
const NORMAL_ORDER = 0;//服务订单
|
||||
const SECKILL_ORDER = 1;//秒杀订单
|
||||
const TEAM_ORDER = 2;//拼团订单
|
||||
const BARGAIN_ORDER = 3;//砍价订单
|
||||
const GROUP_ORDER = 4; //普通订单
|
||||
|
||||
//订单状态
|
||||
const STATUS_WAIT_PAY = 0; //待付款
|
||||
@@ -52,6 +53,7 @@ class Order extends Model
|
||||
self::SECKILL_ORDER => '秒杀订单',
|
||||
self::TEAM_ORDER => '拼团订单',
|
||||
self::BARGAIN_ORDER => '砍价订单',
|
||||
self::GROUP_ORDER => '普通订单',
|
||||
];
|
||||
|
||||
if ($type === true){
|
||||
|
||||
Reference in New Issue
Block a user