配置修改
This commit is contained in:
@ -26,7 +26,7 @@ use app\api\logic\ShopLogic;
|
||||
|
||||
class Shop extends Api
|
||||
{
|
||||
public $like_not_need_login = ['getShopInfo', 'getShopList','getNearbyShops'];
|
||||
public $like_not_need_login = ['getShopInfo', 'getShopList','getNearbyShops','getShopCityInfo'];
|
||||
|
||||
/**
|
||||
* 店铺信息
|
||||
@ -52,8 +52,7 @@ class Shop extends Api
|
||||
{
|
||||
if($this->request->isGet()) {
|
||||
$city_id = $this->request->get('city_id', 0);
|
||||
// $this->user_id
|
||||
$data = ShopLogic::getShopCityInfo($city_id,"" , input());
|
||||
$data = ShopLogic::getShopCityInfo($city_id, $this->user_id, input());
|
||||
return JsonServer::success('获取店铺信息成功', $data);
|
||||
}else{
|
||||
return JsonServer::error('请求类型错误');
|
||||
|
||||
Reference in New Issue
Block a user