更新先货后款订单状态处理

This commit is contained in:
yaooo 2023-08-28 17:59:05 +08:00
parent 262a7a28b5
commit 7b4c9083ca

View File

@ -1779,6 +1779,10 @@ class StoreOrderRepository extends BaseRepository
if ($order->paid == 1 && $order->status == 0 && $order->order_type == 1) {
$order->order_status = 7;
}
//如果是先货后款信用购的状态处理
if ($order->paid == 1 && $order->status == 2 && $order->pay_type == 8) {
$order->order_status = 1;
}
return $order->order_status;
}