shish 2 vuotta sitten
vanhempi
commit
f697ea5418
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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('请小娟修改');
                 }
             }