shish 1 год назад
Родитель
Сommit
c6223b1b21
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app-hd/controllers/IntraCityController.php

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

@@ -585,8 +585,8 @@ class IntraCityController extends BaseController
             if ($order['mainId'] != $this->mainId) {
                 util::fail('订单未找到');
             }
-            if ($order['sendStatus'] != 1) {
-                util::fail('配送单状态不是配送中');
+            if ($order['sendStatus'] != 1 || $order['sendStatus'] != 0) {
+                util::fail('不能取消,请刷新页面');
             }
 
             // 检查是否存在重复的订单,如果存在,则使用最后一个订单的 store_order_id