diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index e35a45350..1a263f969 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -17,11 +17,20 @@ var ( dailyWorkTimeList = []string{ "00:00:30", } + stationTimeList = []string{ + "00:00:00", + "12:00:00", + } ) func Init() { if globals.IsProductEnv() { ScheduleTimerFunc("doDailyWork", doDailyWork, dailyWorkTimeList) + + ScheduleTimerFunc("InitStation", func() { + //同步油站信息 + cms.InitStation(jxcontext.AdminCtx) + }, stationTimeList) } }