Bläddra i källkod

结账权限管理

shish 1 år sedan
förälder
incheckning
3803f68b92

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

@@ -105,6 +105,12 @@ class CustomController extends BaseController
                     util::fail('您不能充值销单哦');
                 }
             }
+            //源花汇
+            if (in_array($this->shopId, [10649])) {
+                if (!in_array($this->adminId, [11641, 11648])) {
+                    util::fail('请闵总或小周操作');
+                }
+            }
         } else {
             if (in_array($this->shopId, [36523])) {
                 if ($this->adminId != 919) {

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

@@ -176,6 +176,12 @@ class OrderClearController extends BaseController
                     util::fail('您不能充值销单哦');
                 }
             }
+            //源花汇
+            if (in_array($this->shopId, [10649])) {
+                if (!in_array($this->adminId, [11641, 11648])) {
+                    util::fail('请闵总或小周操作');
+                }
+            }
         } else {
             if (in_array($this->shopId, [36523])) {
                 if ($this->adminId != 919) {