新增了获取我历史问诊医生列表接口

This commit is contained in:
2024-10-24 14:31:41 +08:00
parent bed64ae079
commit 2f74a74705
2 changed files with 17 additions and 0 deletions
@@ -74,6 +74,20 @@ class PatientDoctorController extends AbstractController
return $this->response->json($data);
}
/**
* 获取我历史问诊医生列表
* @return ResponseInterface
*/
public function getHistoryDoctorList(): ResponseInterface
{
$user_info = $this->request->getAttribute("userInfo") ?? [];
$PatientDoctorService = new PatientDoctorService();
$data = $PatientDoctorService->getIndexPatientDoctorLimit($user_info['client_user_id']);
return $this->response->json($data);
}
/**
* 获取医生评价
* @return ResponseInterface