diff --git a/app/common/repositories/store/order/StoreOrderRepository.php b/app/common/repositories/store/order/StoreOrderRepository.php index 440c6ba9..815fc767 100644 --- a/app/common/repositories/store/order/StoreOrderRepository.php +++ b/app/common/repositories/store/order/StoreOrderRepository.php @@ -1756,7 +1756,7 @@ class StoreOrderRepository extends BaseRepository } public function getOrderStatusV2($order) { - //订单状态 1 未支付 2待发货 3待收货 4待评价 5交易完成 6已退款 7待核销 8先货后款待结算 + //订单状态 1 未支付 2待发货 3待收货 4待评价 5交易完成 6已退款 7待核销 8先货后款待结算 9待商家确认 $order->order_status = 0; if ($order->paid == 0) { $order->order_status = 1; @@ -1783,6 +1783,9 @@ class StoreOrderRepository extends BaseRepository if ($order->paid == 1 && $order->status == 2 && $order->pay_type == 8) { $order->order_status = 8; } + if ($order->status == 12) { + $order->order_status = 9; + } return $order->order_status; }