调试信息

This commit is contained in:
haomingming 2025-10-11 14:02:53 +08:00
parent 410933e5b0
commit 48a5141054

View File

@ -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 {