This commit is contained in:
suyl
2021-08-03 09:24:44 +08:00
parent 763ab8569c
commit d9e565a5c4
2 changed files with 2 additions and 1 deletions

View File

@@ -294,6 +294,7 @@ func Init() {
ScheduleTimerFunc("doDailyWork2", func() { ScheduleTimerFunc("doDailyWork2", func() {
//刷新京东会员 //刷新京东会员
report.RefreshJDMembers(jxcontext.AdminCtx) report.RefreshJDMembers(jxcontext.AdminCtx)
cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, dao.GetDB(), []int{1, 3}, nil, false, nil, nil, model.SyncFlagSaleMask, true, true)
}, dailyWorkTimeList) }, dailyWorkTimeList)
ScheduleTimerFunc("doDailyWork3", func() { ScheduleTimerFunc("doDailyWork3", func() {
dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus) dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus)

View File

@@ -1984,7 +1984,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
// } // }
// } // }
//} //}
cms.RefreshPageStore() cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, dao.GetDB(), []int{1, 3}, nil, false, nil, nil, model.SyncFlagSaleMask, true, true)
return err return err
} }