|
|
@@ -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);
|
|
|
}
|
|
|
|