shish vor 5 Jahren
Ursprung
Commit
4b5759599b
1 geänderte Dateien mit 1 neuen und 5 gelöschten Zeilen
  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
     //获取所有门店linqh 2021.1.31
     public function actionAll()
     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);
         util::success($res);
     }
     }