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

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

@@ -175,11 +175,7 @@ class ShopController extends BaseController
     //获取所有门店linqh 2021.1.31
     public function actionAll()
     {
-        $res = [];
-        $shopAdmin = isset($this->shopAdmin) && !empty($this->shopAdmin) ? $this->shopAdmin->attributes : [];
-        if (isset($shopAdmin['super']) && $shopAdmin['super'] == 1) {
-            $res = ShopClass::getAllShop($this->sjId);
-        }
+        $res = ShopClass::getAllShop($this->sjId);
         util::success($res);
     }