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