验证各平台cookie是否失效
This commit is contained in:
@@ -41,6 +41,10 @@ var (
|
||||
"01:00:00",
|
||||
}
|
||||
createStorePriceTimeList = []string{
|
||||
"08:00:00",
|
||||
"18:00:00",
|
||||
}
|
||||
checkCookieList = []string{
|
||||
"02:00:00",
|
||||
}
|
||||
refreshPageActTimeList = []string{
|
||||
@@ -151,6 +155,9 @@ func Init() {
|
||||
ScheduleTimerFunc("AutoFocusStoreSkusForTopSkus", func() {
|
||||
cms.AutoFocusStoreSkusForTopSkus(jxcontext.AdminCtx, true, true)
|
||||
}, createStorePriceTimeList)
|
||||
ScheduleTimerFunc("GetCheckVendorCookie", func() {
|
||||
event.GetCheckVendorCookie(jxcontext.AdminCtx, []int{0, 1, 3}, true)
|
||||
}, checkCookieList)
|
||||
}
|
||||
ScheduleTimerFunc("AutoSaleStoreSku", func() {
|
||||
cms.AutoSaleStoreSku(jxcontext.AdminCtx, nil, false)
|
||||
@@ -229,7 +236,7 @@ func doDailyWork() {
|
||||
//刷新京东门店的等级
|
||||
cms.RefreshJdLevel(jxcontext.AdminCtx)
|
||||
//删除操作日志
|
||||
event.DeleteOperateEventAndDetail(jxcontext.AdminCtx, time.Now().AddDate(0, 0, -7))
|
||||
event.DeleteOperateEventAndDetail(jxcontext.AdminCtx, time.Now().AddDate(0, -1, 0))
|
||||
}
|
||||
|
||||
func RefreshRealMobile(ctx *jxcontext.Context, vendorID int, fromTime, toTime time.Time, isAsync, isContinueWhenError bool) (hint string, err error) {
|
||||
|
||||
Reference in New Issue
Block a user