Commit 7aab89c34222bc2a8e9117fc83e41567c8e173f7
1 parent
816771d5
Exists in
master
提交
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
| @@ -856,6 +856,11 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uuid int) { | @@ -856,6 +856,11 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uuid int) { | ||
| 856 | } | 856 | } |
| 857 | 857 | ||
| 858 | 858 | ||
| 859 | + realgold,err := GetCoinFromSdk(uuid,rdata.Gameid,rdata.Channel) | ||
| 860 | + if err != nil { | ||
| 861 | + logger.Error("HandlerFetchredbag error") | ||
| 862 | + } | ||
| 863 | + uinfo.RealGold = realgold | ||
| 859 | 864 | ||
| 860 | SaveUserInfo(uinfo,uniqueuuid) | 865 | SaveUserInfo(uinfo,uniqueuuid) |
| 861 | 866 |