Commit 0d8ea0a7584183e4578056b7238d5a2e9c0bc8f7

Authored by 陆恒
1 parent 1bc6ae98
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/logic/logic.go
... ... @@ -68,7 +68,7 @@ func HandlerChangeCoin(w http.ResponseWriter, data string, uuid int) {
68 68 break
69 69 }
70 70  
71   - addgold, _ := strconv.ParseInt(rdata.Coin, 10, 64)
  71 + addgold := rdata.Coin
72 72 if rdata.Type == 0 {
73 73 uinfo.Gold += addgold
74 74 } else {
... ...