Commit a5d40fb4d638820e2fccf6e98602680560a8c383
1 parent
d337745d
Exists in
master
提交
Showing
3 changed files
with
3 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/constdef.go
... | ... | @@ -64,6 +64,7 @@ const ( |
64 | 64 | RANDGIFTLIMIT = 10 //每日随机红包上线次数 |
65 | 65 | BOXGIFTPOS = 10 //空格礼包固定位置 |
66 | 66 | BOXGIFTEXTRA = 1000 //空格礼包id下发额外加成值 |
67 | + DOUBLETIMELAST = 300 //金币加速持续时间 | |
67 | 68 | //FLYBOXNUMLIMIT = 6 //飞天宝箱每日次数限制 |
68 | 69 | FLYBOXNUMLIMIT = 5 //飞天宝箱每日次数限制 |
69 | 70 | //EMPTYBOXLIMIT = 20 //空格宝箱每日限制次数 | ... | ... |
src/HttpServer/logic/datadef.go
src/HttpServer/logic/logic.go
... | ... | @@ -2229,6 +2229,7 @@ func HandlerAcclecteGold(w http.ResponseWriter, data string, uuid int) { |
2229 | 2229 | accrate := uinfo.Goldrate * 3 |
2230 | 2230 | resp.Data.Coin.IcomeRate = strconv.FormatInt(accrate, 10) |
2231 | 2231 | resp.Data.Coin.UpdateTime = int(time.Now().Unix()) |
2232 | + resp.Data.EndTime = uinfo.StartDoubleTime + DOUBLETIMELAST | |
2232 | 2233 | resp.Code = 0 |
2233 | 2234 | break |
2234 | 2235 | } | ... | ... |