Commit 535ac24691adfc56c840be6575752f8296145977
1 parent
2446333e
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
| ... | ... | @@ -314,6 +314,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { |
| 314 | 314 | uinfo.AddToRank() |
| 315 | 315 | resp.Data.Output = strconv.FormatInt(uinfo.Goldrate, 10) |
| 316 | 316 | resp.Data.Coin = strconv.FormatInt(uinfo.Gold, 10) |
| 317 | + logger.Info("HandlerGetUserData addgold=%v", addgold) | |
| 317 | 318 | } |
| 318 | 319 | |
| 319 | 320 | //保存此次计算时间 |
| ... | ... | @@ -488,6 +489,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { |
| 488 | 489 | uinfo.Gold += addgold |
| 489 | 490 | uinfo.GoldSum += addgold |
| 490 | 491 | uinfo.AddToRank() |
| 492 | + logger.Info("HandlerGetMainPageInfo addgold=%v", addgold) | |
| 491 | 493 | } |
| 492 | 494 | |
| 493 | 495 | //保存此次计算时间 | ... | ... |