getMemberId();//用户id $commonServer = CommonServer::creatServer(); $shop_id = $commonServer->filtrationStr('shop_id');//商家id if (empty($shop_id)) return $this->apiResponseError('请选择商家'); $info = ShopServer::creatServer()->getShopInfo($shop_id); if (empty($info)) return $this->apiResponseError('商家不存在'); return $this->apiResponseSuccess('成功',$info); } }