shish 3 年 前
コミット
91f2984a2b

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

@@ -304,7 +304,7 @@ class AdminController extends BaseController
         }
         }
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $this->shopAdmin->super = 0;
             $this->shopAdmin->super = 0;
         }
         }
 
 

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

@@ -133,7 +133,7 @@ class AuthController extends PublicController
         }
         }
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 
@@ -260,7 +260,7 @@ class AuthController extends PublicController
         }
         }
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 
@@ -520,7 +520,7 @@ class AuthController extends PublicController
         }
         }
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 
@@ -623,7 +623,7 @@ class AuthController extends PublicController
         }
         }
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 

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

@@ -27,7 +27,7 @@ class StatController extends BaseController
         //惠雅鲜花员工不能看利润表
         //惠雅鲜花员工不能看利润表
         $shopAdmin = $this->shopAdmin;
         $shopAdmin = $this->shopAdmin;
         $adminId = $shopAdmin->adminId ?? 0;
         $adminId = $shopAdmin->adminId ?? 0;
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             util::fail('暂无权限');
             util::fail('暂无权限');
         }
         }
 
 

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

@@ -21,7 +21,7 @@ class StatKdController extends BaseController
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
         $shopAdmin = $this->shopAdmin;
         $shopAdmin = $this->shopAdmin;
         $adminId = $shopAdmin->adminId ?? 0;
         $adminId = $shopAdmin->adminId ?? 0;
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             util::fail('暂无权限');
             util::fail('暂无权限');
         }
         }
 
 

+ 1 - 1
app-hd/controllers/AdminController.php

@@ -75,7 +75,7 @@ class AdminController extends BaseController
         $imgUploadApi = $apiHost . '/upload/save-file';
         $imgUploadApi = $apiHost . '/upload/save-file';
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 

+ 1 - 1
app-hd/controllers/ApplyController.php

@@ -206,7 +206,7 @@ class ApplyController extends BaseController
             $imgUploadApi = $apiHost . '/upload/save-file';
             $imgUploadApi = $apiHost . '/upload/save-file';
 
 
             //惠雅鲜花员工不能看收入情况
             //惠雅鲜花员工不能看收入情况
-            if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+            if (in_array($adminId, [3405, 2812, 4004,2812])) {
                 $shopAdmin->super = 0;
                 $shopAdmin->super = 0;
             }
             }
 
 

+ 4 - 4
app-hd/controllers/AuthController.php

@@ -116,7 +116,7 @@ class AuthController extends PublicController
         $imgUploadApi = $apiHost . '/upload/save-file';
         $imgUploadApi = $apiHost . '/upload/save-file';
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 
@@ -203,7 +203,7 @@ class AuthController extends PublicController
         $imgUploadApi = $apiHost . '/upload/save-file';
         $imgUploadApi = $apiHost . '/upload/save-file';
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 
@@ -305,7 +305,7 @@ class AuthController extends PublicController
         $imgUploadApi = $apiHost . '/upload/save-file';
         $imgUploadApi = $apiHost . '/upload/save-file';
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 
@@ -548,7 +548,7 @@ class AuthController extends PublicController
         $imgUploadApi = $apiHost . '/upload/save-file';
         $imgUploadApi = $apiHost . '/upload/save-file';
 
 
         //惠雅鲜花员工不能看收入情况
         //惠雅鲜花员工不能看收入情况
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             $shopAdmin->super = 0;
             $shopAdmin->super = 0;
         }
         }
 
 

+ 1 - 1
app-hd/controllers/StatController.php

@@ -31,7 +31,7 @@ class StatController extends BaseController
         //惠雅鲜花员工不能看利润表
         //惠雅鲜花员工不能看利润表
         $shopAdmin = $this->shopAdmin;
         $shopAdmin = $this->shopAdmin;
         $adminId = $shopAdmin->adminId ?? 0;
         $adminId = $shopAdmin->adminId ?? 0;
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             util::fail('暂无权限');
             util::fail('暂无权限');
         }
         }
 
 

+ 1 - 1
app-hd/controllers/StatKdController.php

@@ -24,7 +24,7 @@ class StatKdController extends BaseController
         //惠雅鲜花员工不能看利润表
         //惠雅鲜花员工不能看利润表
         $shopAdmin = $this->shopAdmin;
         $shopAdmin = $this->shopAdmin;
         $adminId = $shopAdmin->adminId ?? 0;
         $adminId = $shopAdmin->adminId ?? 0;
-        if (in_array($adminId, [2366, 3405, 3407, 2812, 4004,2812])) {
+        if (in_array($adminId, [3405, 2812, 4004,2812])) {
             util::fail('暂无权限');
             util::fail('暂无权限');
         }
         }