shish 3 년 전
부모
커밋
d967d05eae
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      app-hd/controllers/OrderController.php

+ 3 - 0
app-hd/controllers/OrderController.php

@@ -51,6 +51,9 @@ class OrderController extends BaseController
         if ($order->status == 5) {
             util::fail('订单已取消');
         }
+        if ($order->fromType == 4) {
+            util::fail('请在美团APP上修改');
+        }
         $address = $post['address'] ?? '';
         $floor = $post['floor'] ?? '';
         $post['fullAddress'] = $address . $floor;