shish 3 سال پیش
والد
کامیت
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);
         $shop = ShopClass::getById($shopId, true);
         if ($shop->mainId != $this->mainId) {
         if ($shop->mainId != $this->mainId) {
-            util::fail('没有权限查看');
+            //这个注释不能打开,因为首店可能修改其它分店信息
+            //util::fail('没有权限查看');
         }
         }
         util::success(['info' => $shop]);
         util::success(['info' => $shop]);
     }
     }