Commit d23ad20aedea669a11186c8af6f2654ee4c8b6ba
1 parent
809c602e
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
| @@ -454,7 +454,7 @@ func HandlerDrawTable(w http.ResponseWriter, data string, uuid int) { | @@ -454,7 +454,7 @@ func HandlerDrawTable(w http.ResponseWriter, data string, uuid int) { | ||
| 454 | uinfo.Gold += addgold | 454 | uinfo.Gold += addgold |
| 455 | 455 | ||
| 456 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) | 456 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) |
| 457 | - resp.Data.Coin = strconv.FormatInt(uinfo.Gold, 10) | 457 | + resp.Data.Coin = strconv.FormatInt(addgold, 10) |
| 458 | resp.Data.RewardId = tid | 458 | resp.Data.RewardId = tid |
| 459 | resp.Code = 0 | 459 | resp.Code = 0 |
| 460 | break | 460 | break |