新增获取我的问诊、关注医生列表接口
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user