修改订单模型
This commit is contained in:
parent
569cb20525
commit
ecd509aef0
@ -209,9 +209,10 @@ class OrderLogic extends Logic
|
||||
'o.user_id' => $post['user_id']
|
||||
])
|
||||
->where('o.order_status', '<>', '4')->find();
|
||||
if ($isOrder) {
|
||||
throw new Exception('抢购商品每人只限抢购一次');
|
||||
}
|
||||
|
||||
// if ($isOrder) {
|
||||
// throw new Exception('抢购商品每人只限抢购一次');
|
||||
// }
|
||||
$groupBuy = GroupBuyLogic::isGroupbuy($buyVal['item_id']);
|
||||
|
||||
if (!isset($groupBuy)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user