From 48a5141054783e332f49672344b2750fe8492448 Mon Sep 17 00:00:00 2001 From: haomingming Date: Sat, 11 Oct 2025 14:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controller/CaseComment.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/controller/CaseComment.go b/api/controller/CaseComment.go index ba77794..78b250b 100644 --- a/api/controller/CaseComment.go +++ b/api/controller/CaseComment.go @@ -10,6 +10,7 @@ import ( "case-admin-api/utils" "github.com/gin-gonic/gin" "strconv" + "fmt" ) type CaseComment struct { @@ -279,6 +280,8 @@ func (b *CaseComment) AddCaseCommentHighQuality(c *gin.Context) { } println(user) + str := fmt.Sprintf("%+v", user) // %+v 会带上字段名 + fmt.Println(str) // 上报用户参与情况-只上报优质留言-佳动力 if caseComment.PlatformId == 2 {