新增关注、取消关注问诊医生

This commit is contained in:
2023-03-17 13:26:50 +08:00
parent a3eb0e3dd0
commit 7d57d2f94a
4 changed files with 104 additions and 8 deletions
@@ -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);
}
}