From e32c1f8849b7d9c6b5009aa407aa2cd8d8e12312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 18 Aug 2020 10:54:58 +0800 Subject: [PATCH] =?UTF-8?q?beta=E6=B5=8B=E8=AF=95=E5=AE=9A=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/misc/misc.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 41bf96f54..5d0f93598 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -289,10 +289,12 @@ func Init() { "04:05:06", }) //京东的订单信息解密密钥获取 - ScheduleTimerFuncByInterval(func() { - jdshop.InitKey() - }, 10*time.Second, 8*time.Hour) - + // ScheduleTimerFuncByInterval(func() { + // jdshop.InitKey() + // }, 10*time.Second, 8*time.Hour) + ScheduleTimerFunc("ChangeJxPriceByDiscountAct", func() { + act.ChangeJxPriceByDiscountAct(jxcontext.AdminCtx) + }, discountActJxList) } if configs, err := dao.QueryConfigs(dao.GetDB(), "ebaiStorePageCookieExdTOKEN", model.ConfigTypeCookie, ""); err == nil { ebaiStorePageCookieExdTOKEN = configs[0].Value