shish 7 месяцев назад
Родитель
Сommit
e424060af9

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

@@ -147,7 +147,7 @@ class CustomController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉
             if (in_array($this->shopId, [23580, 24713])) {
-                if (!in_array($this->adminId, [24043, 23960, 4])) {
+                if (!in_array($this->adminId, [24043, 23960, 4,77951])) {
                     util::fail('不能销单哦!!');
                 }
             }

+ 1 - 1
app-ghs/controllers/GhsController.php

@@ -201,7 +201,7 @@ class GhsController extends BaseController
             }
             //小向花卉采购控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521, 4, 24043])) {
+                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521, 4, 24043,77951])) {
                     util::fail('没有数据哦,编号35');
                 }
             }

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

@@ -151,7 +151,7 @@ class OrderClearController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉
             if (in_array($this->shopId, [23580, 24713])) {
-                if (!in_array($this->adminId, [24043, 23960])) {
+                if (!in_array($this->adminId, [24043, 23960,77951])) {
                     util::fail('不能销单哈!');
                 }
             }

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -1088,7 +1088,7 @@ class OrderController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉开单售后控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 23960, 28456, 31105, 28456, 31105, 52528, 25011, 61449])) {
+                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 23960, 28456, 31105, 28456, 31105, 52528, 25011, 61449,77951])) {
                     util::fail('你不能开单哦');
                 }
             }

+ 1 - 1
app-ghs/controllers/PurchaseClearController.php

@@ -37,7 +37,7 @@ class PurchaseClearController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉采购的结账确认,有多处,关键词ghs_cg_clear_confirm
             if (in_array($this->mainId, [23390, 24516])) {
-                if (!in_array($this->adminId, [24655])) {
+                if (!in_array($this->adminId, [24655,77951])) {
                     util::fail('不能操作哈');
                 }
             }

+ 1 - 1
app-ghs/controllers/PurchaseController.php

@@ -47,7 +47,7 @@ class PurchaseController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉采购的结账确认,有多处,关键词ghs_cg_clear_confirm
             if (in_array($this->mainId, [23390, 24516])) {
-                if (!in_array($this->adminId, [24655])) {
+                if (!in_array($this->adminId, [24655,77951])) {
                     util::fail('不能操作哦');
                 }
             }

+ 3 - 3
app-ghs/controllers/PurchaseOrderController.php

@@ -437,7 +437,7 @@ class PurchaseOrderController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉采购控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521, 4,24043])) {
+                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521, 4,24043,77951])) {
                     util::fail('你不能采购哦');
                 }
             }
@@ -748,7 +748,7 @@ class PurchaseOrderController extends BaseController
             }
             //小向花卉采购控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521, 4, 24043])) {
+                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521, 4, 24043,77951])) {
                     util::fail('没有数据哦,编号2292');
                 }
             }
@@ -1125,7 +1125,7 @@ class PurchaseOrderController extends BaseController
                 if (getenv('YII_ENV') == 'production') {
                     //小向花卉采购控制
                     if ($this->mainId == 23390) {
-                        if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521, 4,24043])) {
+                        if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521, 4,24043,77951])) {
                             util::fail('你不能采购哦');
                         }
                     }

+ 3 - 3
app-ghs/controllers/RefundController.php

@@ -136,7 +136,7 @@ class RefundController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉开单售后控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 23960])) {
+                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 23960,77951])) {
                     util::fail('你不能售后哦');
                 }
                 //小向花卉售后必须备注
@@ -230,7 +230,7 @@ class RefundController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉开单售后控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 23960])) {
+                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 23960,77951])) {
                     util::fail('你不能售后哦。。');
                 }
                 //小向花卉售后必须备注
@@ -616,7 +616,7 @@ class RefundController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉开单售后控制
             if ($this->mainId == 23390) {
-                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 23960])) {
+                if (!in_array($this->adminId, [24043, 24585, 24586, 24654, 24115, 23960,77951])) {
                     util::fail('你不能售后哈。。');
                 }
                 //小向花卉售后必须备注