ソースを参照

关闭零售商城

shish 1 年間 前
コミット
5cd6c37c6c

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

@@ -17,10 +17,10 @@ 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,10536])) {
+            if (in_array($mainId, [40057, 7779, 42940, 26374,10536, 65381])) {
                 util::fail('暂无商品哦,编号25395');
             }
         } else {

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

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

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