打印日志

This commit is contained in:
haomingming
2025-10-11 14:14:01 +08:00
parent 48a5141054
commit e261364482
3 changed files with 12 additions and 2 deletions
+3
View File
@@ -108,6 +108,9 @@ func ReportUserScore(bonuspointsNote, userUuid string, bonuspoints int) (g *Repo
utils.LogJsonInfo("获取app数据返回", g)
println("获取app数据返回")
println(g)
if g.Code != 200 {
if g.Msg != "" {
return g, errors.New(g.Msg)
+3
View File
@@ -160,6 +160,9 @@ func ReportCaseRecord(requestData ReportCaseRecordRequest) (g *ReportCaseRecordR
utils.LogJsonInfo("获取超级袋鼠数据返回", g)
println("获取超级袋鼠数据返回")
println(g)
if g.Code != 1 && g.Code != "1" && g.Code != float64(1) {
if g.Msg != "" {
return g, errors.New(g.Msg)