shish 8 luni în urmă
părinte
comite
e02ff80a8e

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

@@ -198,9 +198,9 @@ class CustomController extends BaseController
                     util::fail('你不能销单哈。。');
                 }
             }
-            //淘花里小榄店
+            //淘花里小榄店 thl_xl_clear
             if (in_array($this->shopId, [72366])) {
-                if (!in_array($this->adminId, [69792,55445])) {
+                if (!in_array($this->adminId, [69792,55445,55707])) {
                     util::fail('你不能销单那。。');
                 }
             }

+ 4 - 4
app-ghs/controllers/OrderClearController.php

@@ -173,15 +173,15 @@ class OrderClearController extends BaseController
                     util::fail('你不能销单那。。');
                 }
             }
-            //淘花里小榄店
+            //淘花里小榄店 thl_xl_clear
             if (in_array($this->shopId, [72366])) {
-                if (!in_array($this->adminId, [69792,55445])) {
-                    util::fail('你不能销单那。。');
+                if (!in_array($this->adminId, [69792, 55445, 55707])) {
+                    util::fail('你不能销单那。。。。');
                 }
             }
             //小齐鲜花总店和出车,多处请搜索关键词 xq_clear_control
             if (in_array($this->shopId, [41467, 42946])) {
-                if (!in_array($this->adminId, [40144,42912,42023])) {
+                if (!in_array($this->adminId, [40144, 42912, 42023])) {
                     util::fail('不能销单。');
                 }
             }

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

@@ -53,6 +53,12 @@ class PurchaseClearController extends BaseController
                     util::fail('你不能销单!');
                 }
             }
+            //淘花里小榄店 thl_xl_clear
+            if (in_array($this->shopId, [72366])) {
+                if (!in_array($this->adminId, [69792,55445,55707])) {
+                    util::fail('你不能销单那。。。');
+                }
+            }
             //小齐鲜花总店和出车,多处请搜索关键词 xq_clear_control
             if (in_array($this->shopId, [41467, 42946])) {
                 if (!in_array($this->adminId, [40144,42912,42023])) {