From d9e565a5c4428b03c8835c50c28fe72e9c80c12b Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 3 Aug 2021 09:24:44 +0800 Subject: [PATCH] aa --- business/jxstore/misc/misc.go | 1 + business/jxstore/tempop/tempop.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index b71e297dd..7ba5061fd 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -294,6 +294,7 @@ func Init() { ScheduleTimerFunc("doDailyWork2", func() { //刷新京东会员 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) ScheduleTimerFunc("doDailyWork3", func() { dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index bb33eb49e..548fa2480 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -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 }