Commit 8f82303adc974d46132ec5d6665fed1bf7cb642e
1 parent
2710deb9
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/function.go
... | ... | @@ -604,6 +604,8 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) { |
604 | 604 | udata.Love = 0 |
605 | 605 | udata.InviteId = data.Fromid |
606 | 606 | udata.Highestlv = 0 |
607 | + udata.CurentLevelSec = int(time.Now().Unix()) | |
608 | + udata.CurentLevelCostTime = 0 | |
607 | 609 | udata.CurBoxLv = 1 |
608 | 610 | udata.IsDouble = 0 |
609 | 611 | udata.IsAuto = 0 | ... | ... |