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

This commit is contained in:
yaooo 2023-08-28 18:46:04 +08:00
parent 7b4c9083ca
commit f97af3626c

View File

@ -1756,7 +1756,7 @@ class StoreOrderRepository extends BaseRepository
}
public function getOrderStatusV2($order) {
// 订单状态 1 未支付 2待发货 3待收货 4待评价 5交易完成 6已退款 7待核销
//订单状态 1 未支付 2待发货 3待收货 4待评价 5交易完成 6已退款 7待核销
$order->order_status = 0;
if ($order->paid == 0) {
$order->order_status = 1;