diff --git a/api/dao/CaseComment.go b/api/dao/CaseComment.go index b89860e..55ee4a4 100644 --- a/api/dao/CaseComment.go +++ b/api/dao/CaseComment.go @@ -124,7 +124,7 @@ func (r *CaseCommentDao) GetCaseCommentPageSearch(req requests.GetCaseCommentPag // 构建查询条件 query := global.Db.Model(&model.CaseComment{}) - // 用户1 + // 用户12 query = query.Preload("User") // 用户医院1