shish hace 3 años
padre
commit
82ea0c3bc7

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

@@ -258,7 +258,7 @@ class ShopController extends BaseController
         //惠雅鲜花员工不能切换门店
         //惠雅鲜花员工不能切换门店
         $shopAdmin = $this->shopAdmin;
         $shopAdmin = $this->shopAdmin;
         $adminId = $shopAdmin->adminId ?? 0;
         $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('暂无权限');
             util::fail('暂无权限');
         }
         }
 
 

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

@@ -105,7 +105,7 @@ class ShopController extends BaseController
         //惠雅鲜花员工不能切换门店
         //惠雅鲜花员工不能切换门店
         $shopAdmin = $this->shopAdmin;
         $shopAdmin = $this->shopAdmin;
         $adminId = $shopAdmin->adminId ?? 0;
         $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('暂无权限');
             util::fail('暂无权限');
         }
         }