shish 1 год назад
Родитель
Сommit
25a3f7903f
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app-ghs/controllers/ShopController.php

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

@@ -151,7 +151,8 @@ class ShopController extends BaseController
             }
         }
         if (isset($staff->super) == false || $staff->super == 0) {
-            if ($this->adminId != 4) {
+            //花掌柜的小石,源花汇的小吕和小吴,没有改库存改价格权限也要能修改门店
+            if (!in_array($this->adminId, [4, 11961, 11976])) {
                 util::fail('没有修改门店权限哦');
             }
         }