屏蔽京东二维码

This commit is contained in:
邹宗楠
2022-04-18 19:32:56 +08:00
parent 8f90446473
commit fdbacbe83e
2 changed files with 81 additions and 90 deletions

View File

@@ -2,7 +2,6 @@ package misc
import (
"fmt"
"git.rosy.net.cn/jx-callback/business/jxcallback/scheduler/jdslogin"
"git.rosy.net.cn/jx-callback/business/partner/delivery"
"sync"
"time"
@@ -352,9 +351,9 @@ func Init() {
/* ScheduleTimerFuncByInterval(func() {
jcq.JCQSchedule()
}, 10*time.Second, 10*time.Second)*/
ScheduleTimerFuncByInterval(func() {
jdslogin.RefreshQRCode()
}, 10*time.Second, 10*time.Minute)
//ScheduleTimerFuncByInterval(func() {
// jdslogin.RefreshQRCode()
//}, 10*time.Second, 10*time.Minute)
ScheduleTimerFunc("AutoSaleStoreSku", func() {
cms.AutoSaleStoreSku(jxcontext.AdminCtx, nil, false)
}, autoSaleStoreSkuTimeList)