From bd13d73bd72c8d23b543542f7dee2132076e30c7 Mon Sep 17 00:00:00 2001
From: wucongxing8150 <815046773@qq.com>
Date: Fri, 7 Mar 2025 17:32:16 +0800
Subject: [PATCH] 1
---
.idea/workspace.xml | 5 ++++-
api/dao/CaseComment.go | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a753d98..71c5d36 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,10 @@
-
+
+
+
+
diff --git a/api/dao/CaseComment.go b/api/dao/CaseComment.go
index 0da44f0..f41504c 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{})
- // 用户12
+ // 用户1
query = query.Preload("User")
// 用户医院