This commit is contained in:
2024-06-13 14:43:16 +08:00
parent 5536b3517f
commit 2017e1cac4
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -52,6 +52,10 @@ func GetDoctorConfigHealthPackageListDto(m []*model.DoctorConfigHealthPackage) [
response.LoadUserDoctor(v.UserDoctor)
}
if v.UserDoctor.Hospital != nil {
response.LoadUserDoctorHospital(v.UserDoctor.Hospital)
}
// 将转换后的结构体添加到新切片中
responses[i] = response
}