修改订单状态更新的错误
This commit is contained in:
parent
6d79a72c93
commit
11345e97bd
@ -2535,12 +2535,13 @@ class StoreOrderRepository extends BaseRepository
|
||||
}
|
||||
if ($type == 2) {
|
||||
$order->is_del = 1;
|
||||
$groupOrder->is_del = 1;
|
||||
} else {
|
||||
$order->status = StoreOrder::STATUS_WAIT_PAY;
|
||||
}
|
||||
$groupOrder->paid = 1;
|
||||
$groupOrder->save();
|
||||
$order->paid = 1;
|
||||
}
|
||||
$groupOrder->save();
|
||||
$order->save();
|
||||
Db::commit();
|
||||
} catch (\Exception $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user