更新到店核销码生成
This commit is contained in:
parent
b897d2ac4f
commit
96d28b3e67
@ -2647,6 +2647,12 @@ class StoreOrderRepository extends BaseRepository
|
||||
$order->interest->save();
|
||||
}
|
||||
} else {
|
||||
if ($groupOrder->pay_type == StoreGroupOrder::PAY_TYPE_CREDIT_BUY) {
|
||||
//如果是先货后款并且选择到店核销、同意时生成核销码
|
||||
if (!empty($order['order_type']) && $order['order_type'] == 1) {
|
||||
$order->verify_code = 1;
|
||||
}
|
||||
}
|
||||
$order->status = StoreOrder::STATUS_WAIT_PAY;
|
||||
$groupOrder->paid = 1;
|
||||
$groupOrder->pay_time = date('Y-m-d H:i:s');
|
||||
|
Loading…
x
Reference in New Issue
Block a user