更新
This commit is contained in:
parent
ab8e458f00
commit
d5a52df439
@ -1004,11 +1004,12 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
|||||||
if ($order['consumption_money'] > 0) {
|
if ($order['consumption_money'] > 0) {
|
||||||
$consumptionDetails[] = [
|
$consumptionDetails[] = [
|
||||||
'user_id' => $uid,
|
'user_id' => $uid,
|
||||||
'order_id' => $_order->order_id,
|
'order_id' => $order['order_id'],
|
||||||
'group_order_id' => $groupOrder->group_order_id,
|
'group_order_id' => $groupOrder->group_order_id,
|
||||||
|
'coupon_user_id' => $order['consumption_id'],
|
||||||
'type' => 1,
|
'type' => 1,
|
||||||
'amount' => $order['consumption_money'],
|
'amount' => $order['consumption_money'],
|
||||||
'pay_price' => $order['total_price'],
|
'pay_price' => $order['pay_price'],
|
||||||
'create_time' => time()
|
'create_time' => time()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user