shish 1 an în urmă
părinte
comite
314b2963d7

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

@@ -67,8 +67,8 @@ class CustomController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉
             if (in_array($this->shopId, [23580, 24713])) {
-                if ($this->adminId != 24043) {
-                    util::fail('不能销单!');
+                if (!in_array($this->adminId, [24043, 23960])) {
+                    util::fail('不能销单哦!!');
                 }
             }
             //花样年华只有总控才能结账

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

@@ -143,13 +143,13 @@ class OrderClearController extends BaseController
             //小向花卉
             if (in_array($this->shopId, [23580, 24713])) {
                 if (!in_array($this->adminId, [24043, 23960])) {
-                    util::fail('不能销单!');
+                    util::fail('不能销单!');
                 }
             }
             //花样年华只有总控才能结账
             if (in_array($this->shopId, [1585, 1596])) {
                 if ($this->adminId != 2876) {
-                    util::fail('不能销单');
+                    util::fail('不能销单。。。');
                 }
             }
             //花大苪 洋桔梗,只有叶荷姐才能销账