Commit 2710deb985430d4cc010b59045ae7e3cea3b7eeb
1 parent
b7a3fc0d
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
| @@ -852,7 +852,7 @@ func HandlerQueryemptybox(w http.ResponseWriter, data string, uuid int) { | @@ -852,7 +852,7 @@ func HandlerQueryemptybox(w http.ResponseWriter, data string, uuid int) { | ||
| 852 | 852 | ||
| 853 | if cfg.Ttype == 1 { | 853 | if cfg.Ttype == 1 { |
| 854 | //金币 | 854 | //金币 |
| 855 | - resp.Data.Goldnum = int64(float32(uinfo.Goldrate) * cfg.Time) | 855 | + resp.Data.Goldnum = int64(float32(uinfo.Goldrate)*cfg.Time) * 60 |
| 856 | } else if cfg.Ttype == 2 { | 856 | } else if cfg.Ttype == 2 { |
| 857 | //红包 | 857 | //红包 |
| 858 | resp.Data.Money = cfg.Time | 858 | resp.Data.Money = cfg.Time |