container->get(PatientDoctorRequest::class); $request->scene('getInquiryDoctorList')->validateResolved(); $PatientDoctorService = new PatientDoctorService(); $data = $PatientDoctorService->getInquiryDoctorList(); return $this->response->json($data); } /** * 获取问诊医生详情 * @return ResponseInterface */ public function getInquiryDoctorInfo(): ResponseInterface { $PatientDoctorService = new PatientDoctorService(); $data = $PatientDoctorService->getInquiryDoctorInfo(); return $this->response->json($data); } /** * 医生详情简介-详情中的简介 * @return ResponseInterface */ public function getDoctorProfile(): ResponseInterface { $PatientDoctorService = new PatientDoctorService(); $data = $PatientDoctorService->getDoctorProfile(); return $this->response->json($data); } /** * 检测是否可以接诊 * @return ResponseInterface * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ public function getDoctorInquiryCheck(): ResponseInterface { $request = $this->container->get(PatientDoctorRequest::class); $request->scene('getDoctorInquiryCheck')->validateResolved(); $PatientDoctorService = new PatientDoctorService(); $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); } /** * 获取医生评价 * @return ResponseInterface */ public function getDoctorEvaluationList(): ResponseInterface { $PatientDoctorService = new PatientDoctorService(); $data = $PatientDoctorService->getDoctorEvaluationList(); return $this->response->json($data); } }