Commit 9e62d3a37c34ed413662817e59e083260fc300de
1 parent
8b0ae028
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
| ... | ... | @@ -310,7 +310,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { |
| 310 | 310 | uinfo.Gold = addgold |
| 311 | 311 | uinfo.GoldSum += addgold |
| 312 | 312 | uinfo.AddToRank() |
| 313 | - resp.Data.Output = strconv.FormatInt(addgold, 10) | |
| 313 | + resp.Data.Output = strconv.FormatInt(uinfo.Goldrate, 10) | |
| 314 | 314 | resp.Data.Coin = strconv.FormatInt(uinfo.Gold, 10) |
| 315 | 315 | } |
| 316 | 316 | ... | ... |