循环塔数据更新
This commit is contained in:
parent
d01f1e7eee
commit
c6d17a2024
@ -35,7 +35,7 @@ func (this *apiComp) GetCycle(session comm.IUserSession, req *pb.PagodaGetCycleR
|
|||||||
if list.Etime < configure.Now().Unix() {
|
if list.Etime < configure.Now().Unix() {
|
||||||
data := this.module.modelCyclePagoda.getCycelData()
|
data := this.module.modelCyclePagoda.getCycelData()
|
||||||
list.Etime = data.Etime
|
list.Etime = data.Etime
|
||||||
update["rtime"] = list.Etime
|
update["etime"] = list.Etime
|
||||||
list.Itype = data.Itype
|
list.Itype = data.Itype
|
||||||
update["itype"] = list.Itype
|
update["itype"] = list.Itype
|
||||||
list.Data = make(map[int32]*pb.CycleData)
|
list.Data = make(map[int32]*pb.CycleData)
|
||||||
|
Loading…
Reference in New Issue
Block a user