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

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

@@ -304,7 +304,8 @@ class ShopController extends BaseController
         }
         $shop = ShopClass::getById($shopId, true);
         if ($shop->mainId != $this->mainId) {
-            util::fail('没有权限查看');
+            //这个注释不能打开,因为首店可能修改其它分店信息
+            //util::fail('没有权限查看');
         }
         util::success(['info' => $shop]);
     }