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 {