Merge branch 'feature/purchase_record' into dev
This commit is contained in:
commit
11599de6fa
@ -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;
|
||||
$order->paid = 1;
|
||||
}
|
||||
$groupOrder->paid = 1;
|
||||
$groupOrder->save();
|
||||
$order->paid = 1;
|
||||
$order->save();
|
||||
Db::commit();
|
||||
} catch (\Exception $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user