Browse Source

采购权限

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

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

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