新增获取用户地址。修改获取检测机构合作医生列表接口,拆分为两个接口
This commit is contained in:
@@ -178,4 +178,15 @@ class UserController extends AbstractController
|
||||
$data = $UserService->postLocation();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户地址
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getLocation(): ResponseInterface
|
||||
{
|
||||
$UserService = new UserService();
|
||||
$data = $UserService->getLocation();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user