更新到店核销码生成

This commit is contained in:
yaooo 2023-08-29 16:23:45 +08:00
parent b5f9e64bc3
commit c4454c514f

View File

@ -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;