shish 11 months ago
parent
commit
956b0f095d

+ 3 - 3
app-ghs/controllers/IntraCityController.php

@@ -414,10 +414,10 @@ class IntraCityController extends BaseController
         if ($order->status != 2) {
             util::fail('待发货订单才能发跑腿,请刷新页面');
         }
-        // 不能创建配送的几种配送状态
-        $notCanCreateSendStatus = [-1, 3];
+        //如果不是没鹛跑腿和取消了,则不能再叫跑腿,有多处,关键词no_call_express
+        $notCanCreateSendStatus = [-2, 3];
         if (!in_array($order->sendStatus, $notCanCreateSendStatus)) {
-            util::fail('不能叫跑腿,请刷新页面');
+            util::fail('不能叫跑腿,请刷新页面,编号800');
         }
         $cgId = $order->purchaseId ?? 0;
         $cgInfo = PurchaseClass::getById($cgId, true);

+ 3 - 3
app-hd/controllers/IntraCityController.php

@@ -339,10 +339,10 @@ class IntraCityController extends BaseController
         if ($order['status'] != 2) {
             util::fail('待发货订单才能发跑腿,请刷新页面');
         }
-        // 不能创建配送的几种配送状态
-        $notCanCreateSendStatus = [-1, 3];
+        //如果不是没鹛跑腿和取消了,则不能再叫跑腿,有多处,关键词no_call_express
+        $notCanCreateSendStatus = [-2, 3];
         if (!in_array($order['sendStatus'], $notCanCreateSendStatus)) {
-            util::fail('不能叫跑腿,请刷新页面');
+            util::fail('不能叫跑腿,请刷新页面,编号966');
         }
         if ($order['repeat'] == 1) {
             util::fail('收款码订单不支持跑腿');