shish 2 ani în urmă
părinte
comite
6c5f2adf15

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

@@ -883,9 +883,9 @@ class OrderController 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, [24043, 24585, 24586, 24654, 24115])) {
+                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 26390])) {
                     util::fail('你不能开单哦');
                     util::fail('你不能开单哦');
                 }
                 }
             }
             }

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

@@ -384,7 +384,7 @@ class RefundController 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, [24043, 24585, 24586, 24654, 24115])) {
+                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 26390])) {
                     util::fail('你不能售后哦。。');
                     util::fail('你不能售后哦。。');
                 }
                 }
             }
             }