打印日志
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user