新增关注、取消关注问诊医生
This commit is contained in:
@@ -95,4 +95,26 @@ class PatientDoctorController extends AbstractController
|
||||
$data = $PatientDoctorService->getDoctorEvaluationList();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增关注医生
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function addDoctorFollow(): ResponseInterface
|
||||
{
|
||||
$PatientDoctorService = new PatientDoctorService();
|
||||
$data = $PatientDoctorService->addDoctorFollow();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 取消关注医生
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function deleteDoctorFollow(): ResponseInterface
|
||||
{
|
||||
$PatientDoctorService = new PatientDoctorService();
|
||||
$data = $PatientDoctorService->deleteDoctorFollow();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user