Commit 443b09032ad96546fc04c12b78d2f09ab18341f8
1 parent
753e81e7
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/logic.go
... | ... | @@ -320,7 +320,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { |
320 | 320 | } |
321 | 321 | resp.Data.Output = strconv.FormatInt(output, 10) |
322 | 322 | resp.Data.Coin = strconv.FormatInt(uinfo.Gold, 10) |
323 | - logger.Info("HandlerGetUserData addgold=%v", addgold) | |
323 | + logger.Info("HandlerGetUserData addgold=%v resp=%+v", addgold, resp) | |
324 | 324 | |
325 | 325 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) |
326 | 326 | } |
... | ... | @@ -497,7 +497,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { |
497 | 497 | uinfo.Gold += addgold |
498 | 498 | uinfo.GoldSum += addgold |
499 | 499 | uinfo.AddToRank() |
500 | - logger.Info("HandlerGetMainPageInfo addgold=%v", addgold) | |
500 | + logger.Info("HandlerGetMainPageInfo addgold=%v,resp=%+v", addgold, resp) | |
501 | 501 | |
502 | 502 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) |
503 | 503 | } | ... | ... |