上传今日领取
This commit is contained in:
parent
d5897ce81a
commit
9069e57a77
@ -54,7 +54,7 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.WarorderReceiveR
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
days = int32(utils.DiffDays(configure.Now().Unix(), info.Opentime))
|
days = int32(utils.DiffDays(configure.Now().Unix(), info.Opentime)) + 1
|
||||||
awards = make([]*cfg.Gameatn, 0)
|
awards = make([]*cfg.Gameatn, 0)
|
||||||
for _, v := range confs {
|
for _, v := range confs {
|
||||||
if v.Parameter <= days {
|
if v.Parameter <= days {
|
||||||
|
Loading…
Reference in New Issue
Block a user