移除测试文件

This commit is contained in:
meixiongfeng 2023-12-28 15:34:06 +08:00
parent f00e8d6d80
commit fdb04e1b87
2 changed files with 4 additions and 4 deletions

View File

@ -46,12 +46,12 @@ func (this *VikingRank) Start() (err error) {
// 0 0 0 ? * MON // 每周一零点
cron.AddFunc("0 0 0 ? * MON", this.TimerSeason)
this.TimerSeason()
//this.TimerSeason()
return
}
func (this *VikingRank) TimerSeason() {
endTime := utils.WeekIntervalTime()
endTime := utils.WeekIntervalTime(configure.Now().Unix())
this.module.Debugf("TimerSeason end: %d,cur time:%d", endTime, configure.Now().Unix())
if err := this.service.RpcCall(

View File

@ -3,6 +3,7 @@ package viking
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
"go_dreamfactory/sys/configure"
"go_dreamfactory/sys/db"
"go_dreamfactory/utils"
)
@ -61,10 +62,9 @@ func (this *apiComp) SeasonRank(session comm.IUserSession, req *pb.VikingSeasonR
}
}
_, etime := utils.GetMonthStartEnd()
session.SendMsg(string(this.module.GetType()), VikingSeasonRankReq, &pb.VikingSeasonRankResp{
Ranks: players,
Etime: etime,
Etime: utils.WeekIntervalTime(configure.Now().Unix()),
})
return
}