shish 1 год назад
Родитель
Сommit
85327fda57

+ 12 - 0
app-ghs/controllers/CustomController.php

@@ -111,6 +111,18 @@ class CustomController extends BaseController
                     util::fail('请闵总或小周操作');
                 }
             }
+            //昱成
+            if (in_array($this->shopId, [8596])) {
+                if (!in_array($this->adminId, [9303])) {
+                    util::fail('只能叶荷操作');
+                }
+            }
+            //花大苪
+            if (in_array($this->shopId, [8249])) {
+                if (!in_array($this->adminId, [9303])) {
+                    util::fail('只能叶荷操作');
+                }
+            }
         } else {
             if (in_array($this->shopId, [36523])) {
                 if ($this->adminId != 919) {

+ 12 - 0
app-ghs/controllers/OrderClearController.php

@@ -182,6 +182,18 @@ class OrderClearController extends BaseController
                     util::fail('请闵总或小周操作');
                 }
             }
+            //昱成
+            if (in_array($this->shopId, [8596])) {
+                if (!in_array($this->adminId, [9303])) {
+                    util::fail('只能叶荷操作');
+                }
+            }
+            //花大苪
+            if (in_array($this->shopId, [8249])) {
+                if (!in_array($this->adminId, [9303])) {
+                    util::fail('只能叶荷操作');
+                }
+            }
         } else {
             if (in_array($this->shopId, [36523])) {
                 if ($this->adminId != 919) {