shish 2 years ago
parent
commit
c9b2298d90
1 changed files with 9 additions and 0 deletions
  1. 9 0
      app-ghs/controllers/CustomController.php

+ 9 - 0
app-ghs/controllers/CustomController.php

@@ -620,6 +620,15 @@ class CustomController extends BaseController
             util::fail('超管才能修改');
         }
 
+        //泉城的只有苏小娟才能修改
+        if (getenv('YII_ENV') == 'production') {
+            if ($this->mainId == 60) {
+                if (in_array($this->adminId, [2499]) == false) {
+                    util::fail('没有修改成功,请小娟修改');
+                }
+            }
+        }
+
         $get = Yii::$app->request->get();
         $customId = $get['customId'] ?? 0;
         $level = $get['level'] ?? 1;