Commit fb19f303db8f02395e100cb8eb7daf572e816608
1 parent
22f5a87e
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -605,7 +605,7 @@ func HandlerGetflyboxreward(w http.ResponseWriter, data string, uuid int) { | @@ -605,7 +605,7 @@ func HandlerGetflyboxreward(w http.ResponseWriter, data string, uuid int) { | ||
605 | } | 605 | } |
606 | if cfg.Ttype == 1 { | 606 | if cfg.Ttype == 1 { |
607 | //金币 | 607 | //金币 |
608 | - resp.Data.Getgold = int64(float32(uinfo.Goldrate) * cfg.Time) | 608 | + resp.Data.Getgold = int64(float32(uinfo.Goldrate)*cfg.Time) * 60 |
609 | 609 | ||
610 | uinfo.Gold += resp.Data.Getgold | 610 | uinfo.Gold += resp.Data.Getgold |
611 | uinfo.GoldSum += resp.Data.Getgold | 611 | uinfo.GoldSum += resp.Data.Getgold |