新增获取我的问诊、关注医生列表接口

This commit is contained in:
2023-03-04 17:08:14 +08:00
parent 80dbd4bf93
commit 707a0eb6fd
11 changed files with 280 additions and 74 deletions
@@ -70,4 +70,20 @@ class PatientDoctorController extends AbstractController
$data = $PatientDoctorService->getDoctorInquiryCheck();
return $this->response->json($data);
}
/**
* 获取我的问诊、关注医生列表
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getDoctorList(): ResponseInterface
{
$request = $this->container->get(PatientDoctorRequest::class);
$request->scene('getDoctorList')->validateResolved();
$PatientDoctorService = new PatientDoctorService();
$data = $PatientDoctorService->getDoctorList();
return $this->response->json($data);
}
}