Răsfoiți Sursa

限制下单

shish 1 an în urmă
părinte
comite
e56cab9d04

+ 2 - 2
app-mall/controllers/ItemController.php

@@ -115,10 +115,10 @@ class ItemController extends BaseController
             util::fail('访问门店出错了');
         }
 
-        //普莲花艺、叶上花、丰行限制不能在花卉宝下单,多处要同步修改,关键词ls_mall_not_open
+        //普莲花艺、叶上花、丰行、小武鲜花不能在花卉宝下单,多处要同步修改,关键词ls_mall_not_open
         $mainId = $this->mainId;
         if (getenv('YII_ENV') == 'production') {
-            if (in_array($mainId, [40057, 4750, 7779])) {
+            if (in_array($mainId, [40057, 4750, 7779, 42940])) {
                 util::fail('暂时无法访问');
             }
         } else {

+ 2 - 2
app-mall/controllers/OrderController.php

@@ -60,10 +60,10 @@ class OrderController extends BaseController
         $post['mainId'] = $this->mainId ?? 0;
         $post['userId'] = $this->userId ?? 0;
 
-        //普莲花艺、叶上花、丰行限制不能在花卉宝下单,多处要同步修改,关键词ls_mall_not_open
+        //普莲花艺、叶上花、丰行、小武鲜花不能在花卉宝下单,多处要同步修改,关键词ls_mall_not_open
         $mainId = $this->mainId;
         if (getenv('YII_ENV') == 'production') {
-            if (in_array($mainId, [40057, 4750, 7779])) {
+            if (in_array($mainId, [40057, 4750, 7779, 42940])) {
                 util::fail('暂时无法访问');
             }
         } else {