shish vor 2 Jahren
Ursprung
Commit
832ea8f3b8

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

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

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

@@ -389,7 +389,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])) {
+                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004,24655])) {
                     util::fail('你不能采购哦');
                 }
             }
@@ -556,7 +556,7 @@ class PurchaseOrderController extends BaseController
             }
             //小向花卉采购控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004])) {
+                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004,24655])) {
                     util::fail('没有数据哦');
                 }
             }