shish vor 2 Jahren
Ursprung
Commit
cd7dfe0904
1 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen
  1. 9 3
      app-ghs/controllers/PurchaseClearController.php

+ 9 - 3
app-ghs/controllers/PurchaseClearController.php

@@ -35,6 +35,12 @@ class PurchaseClearController extends BaseController
         }
 
         if (getenv('YII_ENV') == 'production') {
+            //小向花卉
+            if (in_array($this->mainId, [23390, 24516])) {
+                if (!in_array($this->adminId, [24655])) {
+                    util::fail('暂无权限');
+                }
+            }
             //花大苪 洋桔梗,只有叶荷姐才能销账
             if (in_array($this->shopId, [16070])) {
                 if (!in_array($this->adminId, [9303, 4])) {
@@ -43,9 +49,9 @@ class PurchaseClearController extends BaseController
             }
         } else {
             if (in_array($this->shopId, [36523])) {
-                if (!in_array($this->adminId, [919])) {
-                    util::fail('暂无权限');
-                }
+//                if (!in_array($this->adminId, [919])) {
+//                    util::fail('暂无权限');
+//                }
             }
         }