更新先货后款订单状态处理
This commit is contained in:
parent
262a7a28b5
commit
7b4c9083ca
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user