新增获取用户地址。修改获取检测机构合作医生列表接口,拆分为两个接口

This commit is contained in:
2023-08-23 17:19:17 +08:00
parent e56e4c2606
commit fac54d3287
6 changed files with 123 additions and 108 deletions
+11
View File
@@ -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);
}
}