Kaynağa Gözat

门店切换

shish 5 yıl önce
ebeveyn
işleme
4b5759599b
1 değiştirilmiş dosya ile 1 ekleme ve 5 silme
  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);
     }