打印日志
This commit is contained in:
@@ -270,6 +270,10 @@ func (b *CaseComment) AddCaseCommentHighQuality(c *gin.Context) {
|
||||
}
|
||||
}()
|
||||
|
||||
println(user)
|
||||
str := fmt.Sprintf("%+v", user) // %+v 会带上字段名
|
||||
fmt.Println(str)
|
||||
println("========")
|
||||
// 发放积分-优质留言-1010 修改
|
||||
userService := service.UserService{}
|
||||
user,err = userService.ReportUserScore(tx, result.ProjectId, caseComment.CaseId, caseComment.PlatformId, scoreType, user)
|
||||
@@ -280,8 +284,8 @@ func (b *CaseComment) AddCaseCommentHighQuality(c *gin.Context) {
|
||||
}
|
||||
|
||||
println(user)
|
||||
str := fmt.Sprintf("%+v", user) // %+v 会带上字段名
|
||||
fmt.Println(str)
|
||||
str2 := fmt.Sprintf("%+v", user) // %+v 会带上字段名
|
||||
fmt.Println(str2)
|
||||
|
||||
// 上报用户参与情况-只上报优质留言-佳动力
|
||||
if caseComment.PlatformId == 2 {
|
||||
|
||||
Reference in New Issue
Block a user