新增获取医生信息接口

This commit is contained in:
2023-02-24 16:26:01 +08:00
parent c128a3724d
commit bba24692e5
3 changed files with 54 additions and 0 deletions
+11
View File
@@ -201,4 +201,15 @@ class UserDoctorController extends AbstractController
$data = $UserDoctorService->getDoctorEvaluationList();
return $this->response->json($data);
}
/**
* 获取医生信息
* @return ResponseInterface
*/
public function getDoctorCenterInfo(): ResponseInterface
{
$UserDoctorService = new UserDoctorService();
$data = $UserDoctorService->getDoctorCenterInfo();
return $this->response->json($data);
}
}