Kaynağa Gözat

采购限制

shish 2 yıl önce
ebeveyn
işleme
9df9a0674e
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 7 0
      app-ghs/controllers/GhsController.php

+ 7 - 0
app-ghs/controllers/GhsController.php

@@ -168,11 +168,18 @@ class GhsController extends BaseController
         }
 
         if (getenv('YII_ENV') == 'production') {
+            //纯彩花艺
             if ($this->mainId == 10) {
                 if (in_array($this->adminId, [37, 988, 14346]) == false) {
                     util::fail('没有数据哦');
                 }
             }
+            //天天鲜花十堰店
+            if ($this->mainId == 7184) {
+                if (in_array($this->adminId, [8340, 8345, 9433]) == false) {
+                    util::fail('没有数据哦');
+                }
+            }
         }
 
         $list = GhsClass::getGhsList($where);