新增 获取检测机构合作医生列表 接口

This commit is contained in:
2023-07-27 14:07:45 +08:00
parent d9552cfb2a
commit 4b68edfc28
5 changed files with 166 additions and 1 deletions
+16
View File
@@ -36,4 +36,20 @@ class DetectionController extends AbstractController
$data = $detectionService->getDetectionProject();
return $this->response->json($data);
}
/**
* 获取检测机构合作医生列表
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getDetectionDoctorList(): ResponseInterface
{
$request = $this->container->get(DetectionRequest::class);
$request->scene('getDetectionDoctorList')->validateResolved();
$detectionService = new DetectionService();
$data = $detectionService->getDetectionDoctorList();
return $this->response->json($data);
}
}