shish 2 년 전
부모
커밋
6c5f2adf15
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      app-ghs/controllers/OrderController.php
  2. 1 1
      app-ghs/controllers/RefundController.php

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

@@ -883,9 +883,9 @@ class OrderController extends BaseController
         }
 
         if (getenv('YII_ENV') == 'production') {
-            //小向花卉采购控制
+            //小向花卉开单控制
             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('你不能开单哦');
                 }
             }

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

@@ -384,7 +384,7 @@ class RefundController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉采购控制
             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('你不能售后哦。。');
                 }
             }