wesmiler 2 tháng trước cách đây
mục cha
commit
dde43b2247
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Services/Common/OrderService.php

+ 1 - 1
app/Services/Common/OrderService.php

@@ -487,7 +487,7 @@ class OrderService extends BaseService
             return ['code' => 1, 'msg' => '订单不存在'];
         }
 
-        if ($order->status != 2) {
+        if ($order->status == 1) {
             return ['code' => 1, 'msg' => '订单状态不正确,只有已付款订单可以上传发票'];
         }