更新到店核销码生成
This commit is contained in:
parent
b5f9e64bc3
commit
c4454c514f
@ -2650,7 +2650,7 @@ class StoreOrderRepository extends BaseRepository
|
|||||||
if ($groupOrder->pay_type == StoreGroupOrder::PAY_TYPE_CREDIT_BUY) {
|
if ($groupOrder->pay_type == StoreGroupOrder::PAY_TYPE_CREDIT_BUY) {
|
||||||
//如果是先货后款并且选择到店核销、同意时生成核销码
|
//如果是先货后款并且选择到店核销、同意时生成核销码
|
||||||
if (!empty($order->order_type) && $order->order_type == 1) {
|
if (!empty($order->order_type) && $order->order_type == 1) {
|
||||||
$order->verify_code = 1;
|
$order->verify_code = $this->verifyCode();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$order->status = StoreOrder::STATUS_WAIT_PAY;
|
$order->status = StoreOrder::STATUS_WAIT_PAY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user