shish 2 жил өмнө
parent
commit
06a8cbee05

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

@@ -61,6 +61,12 @@ class CustomController extends BaseController
                     util::fail('不能充值销单哈');
                 }
             }
+            //小丽鲜花
+            if (in_array($this->shopId, [11094])) {
+                if (!in_array($this->adminId, [12073, 12296])) {
+                    util::fail('您不能充值销单哦');
+                }
+            }
         } else {
             if (in_array($this->shopId, [36523])) {
                 if ($this->adminId != 919) {

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

@@ -155,6 +155,12 @@ class OrderClearController extends BaseController
                     util::fail('不能充值销单哈');
                 }
             }
+            //小丽鲜花
+            if (in_array($this->shopId, [11094])) {
+                if (!in_array($this->adminId, [12073, 12296])) {
+                    util::fail('您不能充值销单哦');
+                }
+            }
         } else {
             if (in_array($this->shopId, [36523])) {
                 if ($this->adminId != 919) {