更新到店核销码生成

This commit is contained in:
yaooo 2023-08-29 16:19:12 +08:00
parent 96d28b3e67
commit b5f9e64bc3

View File

@ -2649,7 +2649,7 @@ class StoreOrderRepository extends BaseRepository
} else {
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;
}
}