上传周期活动开启
This commit is contained in:
parent
21dcb8cd4f
commit
948326e7f6
@ -3,6 +3,7 @@ package realarena
|
||||
import (
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/pb"
|
||||
"go_dreamfactory/sys/configure"
|
||||
)
|
||||
|
||||
// 参数校验
|
||||
@ -25,7 +26,9 @@ func (this *apiComp) Info(session comm.IUserSession, req *pb.RealArenaInfoReq) (
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if configure.Now().Unix() > this.module.model.whichissue.Currendtime {
|
||||
this.module.model.computeWhich()
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), "info", &pb.RealArenaInfoResp{Info: info, Opentime: this.module.model.whichissue.Curropentime, Endtime: this.module.model.whichissue.Currendtime})
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user