refreshcoupon

This commit is contained in:
苏尹岚
2021-01-12 15:23:19 +08:00
parent 78d54c54ad
commit e48d74601f
3 changed files with 60 additions and 1 deletions

View File

@@ -271,6 +271,10 @@ func Init() {
ScheduleTimerFunc("RefreshUserMemberStatus", func() {
cms.RefreshUserMemberStatus(jxcontext.AdminCtx)
}, updateActStatusTimeList)
//刷优惠券状态
ScheduleTimerFunc("RefreshCouponsStatus", func() {
localjx.RefreshCouponsStatus(jxcontext.AdminCtx)
}, updateActStatusTimeList)
}
ScheduleTimerFunc("AutoSaleStoreSku", func() {
cms.AutoSaleStoreSku(jxcontext.AdminCtx, nil, false)