Browse Source

切换权限

shish 3 years ago
parent
commit
82ea0c3bc7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app-ghs/controllers/ShopController.php
  2. 1 1
      app-hd/controllers/ShopController.php

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

@@ -258,7 +258,7 @@ class ShopController extends BaseController
         //惠雅鲜花员工不能切换门店
         $shopAdmin = $this->shopAdmin;
         $adminId = $shopAdmin->adminId ?? 0;
-        if (in_array($adminId, [2812, 4004, 3539, 3735, 3405])) {
+        if (in_array($adminId, [2812, 4004, 3539, 3735, 3405, 3407])) {
             util::fail('暂无权限');
         }
 

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

@@ -105,7 +105,7 @@ class ShopController extends BaseController
         //惠雅鲜花员工不能切换门店
         $shopAdmin = $this->shopAdmin;
         $adminId = $shopAdmin->adminId ?? 0;
-        if (in_array($adminId, [2812, 4004, 3539, 3735, 3405])) {
+        if (in_array($adminId, [2812, 4004, 3539, 3735, 3405, 3407])) {
             util::fail('暂无权限');
         }