新增患者详情

This commit is contained in:
2023-09-18 14:17:40 +08:00
parent ce3168867f
commit dbe0e24241
13 changed files with 496 additions and 57 deletions
+3 -3
View File
@@ -71,12 +71,12 @@ func (r *UserPatient) GetUserPatient(c *gin.Context) {
}
// 业务处理
userDoctorService := service.UserDoctorService{}
getUserDoctorResponses, err := userDoctorService.GetUserDoctor(patientId)
userPatientService := service.UserPatientService{}
getUserPatientResponses, err := userPatientService.GetUserPatient(patientId)
if err != nil {
responses.FailWithMessage(err.Error(), c)
return
}
responses.OkWithData(getUserDoctorResponses, c)
responses.OkWithData(getUserPatientResponses, c)
}