Quellcode durchsuchen

不能给自己零售开单

shish vor 4 Jahren
Ursprung
Commit
80cf01dcc0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app-ghs/controllers/OrderController.php

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -629,7 +629,7 @@ class OrderController extends BaseController
         }
         CustomClass::valid($custom, $this->shopId);
         if (isset($custom['mainId']) && !empty($custom['mainId']) && $custom['mainId'] == $custom['ownMainId']) {
-            //util::fail('不能给自己的零售店开单');
+            util::fail('不能给自己的零售店开单');
         }
         $post['ghsId'] = $custom['ghsId'] ?? 0;
         $post['customMobile'] = $custom['mobile'] ?? '';