From 7092b7aa9597126df5ac9f64229f9323d1f149a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 6 Dec 2019 19:13:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/misc/misc.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index b32fdb397..5f9b996e4 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -6,6 +6,8 @@ import ( "sync" "time" + "git.rosy.net.cn/jx-callback/business/jxstore/report" + "git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/jx-callback/business/jxcallback/orderman" "git.rosy.net.cn/jx-callback/business/jxstore/act" @@ -31,6 +33,9 @@ var ( dailyWorkTimeList = []string{ "20:30:00", } + createStorePriceTimeList = []string{ + "23:00:00", + } refreshPageActTimeList = []string{ "7:00:00", "8:00:00", @@ -126,6 +131,9 @@ func Init() { ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() { cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, true) }, ChangeStoreSkuSaleStatusList) + ScheduleTimerFunc("BeginSavePriceRefer", func() { + report.BeginSavePriceRefer(jxcontext.AdminCtx, nil, nil) + }, createStorePriceTimeList) } ScheduleTimerFunc("AutoSaleStoreSku", func() { cms.AutoSaleStoreSku(jxcontext.AdminCtx, nil, false)