新增了获取我历史问诊医生列表接口
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user