Răsfoiți Sursa

下单限制

shish 1 an în urmă
părinte
comite
09bf1bbf93

+ 3 - 3
app-mall/controllers/CategoryController.php

@@ -17,11 +17,11 @@ class CategoryController extends BaseController
     public function actionList()
     {
 
-        //普莲花艺、叶上花、丰行、小武鲜花不能在花卉宝下单,多处要同步修改,关键词ls_mall_not_open
+        //普莲花艺、叶上花、丰行、小武鲜花、九江云朵、源花汇不能在花卉宝下单,多处要同步修改,关键词ls_mall_not_open
         $mainId = $this->mainId;
         if (getenv('YII_ENV') == 'production') {
-            if (in_array($mainId, [40057, 7779, 42940, 26374])) {
-                util::fail('暂无商品哦,编号16339942');
+            if (in_array($mainId, [40057, 7779, 42940, 26374,10536])) {
+                util::fail('暂无商品哦,编号25395');
             }
         } else {
             if (in_array($mainId, [0, 1])) {

+ 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, 7779, 42940, 26374])) {
+            if (in_array($mainId, [40057, 7779, 42940, 26374,10536])) {
                 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, 7779, 42940, 26374])) {
+            if (in_array($mainId, [40057, 7779, 42940, 26374,10536])) {
                 util::fail('暂时无法访问');
             }
         } else {