shish 2 лет назад
Родитель
Сommit
f697ea5418
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/CustomController.php

+ 1 - 1
app-ghs/controllers/CustomController.php

@@ -623,7 +623,7 @@ class CustomController extends BaseController
         //泉城的只有苏小娟才能修改
         if (getenv('YII_ENV') == 'production') {
             if ($this->mainId == 60) {
-                if (in_array($this->adminId, [2499]) == false) {
+                if (in_array($this->adminId, [2499, 4]) == false) {
                     util::fail('请小娟修改');
                 }
             }