Commit f2f9cf062676ac2400ddf3beb84c9374c41b4c3e

Authored by 陆恒
1 parent 5f687d48
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/logic/logic.go
@@ -916,7 +916,7 @@ func HandlerGetboxreward(w http.ResponseWriter, data string, uuid int) { @@ -916,7 +916,7 @@ func HandlerGetboxreward(w http.ResponseWriter, data string, uuid int) {
916 916
917 if cfg.Ttype == 1 { 917 if cfg.Ttype == 1 {
918 //金币 918 //金币
919 - resp.Data.Getgold = int64(float32(uinfo.Goldrate) * cfg.Time) 919 + resp.Data.Getgold = int64(float32(uinfo.Goldrate) * cfg.Time * 60)
920 resp.Data.Getgold = resp.Data.Getgold * mult 920 resp.Data.Getgold = resp.Data.Getgold * mult
921 uinfo.Gold += resp.Data.Getgold 921 uinfo.Gold += resp.Data.Getgold
922 uinfo.GoldSum += resp.Data.Getgold 922 uinfo.GoldSum += resp.Data.Getgold