shish 1 gadu atpakaļ
vecāks
revīzija
a714fede16

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

@@ -201,7 +201,7 @@ class GhsController extends BaseController
             }
             //小向花卉采购控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655,28521])) {
+                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655,28521,4])) {
                     util::fail('没有数据哦6');
                 }
             }

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

@@ -405,7 +405,7 @@ class PurchaseOrderController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉采购控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521])) {
+                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521,4])) {
                     util::fail('你不能采购哦');
                 }
             }