Refresh QRCODE

This commit is contained in:
807875765@qq.com
2022-04-18 18:25:39 +08:00
parent ec3265d38c
commit 8a17066463
2 changed files with 95 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ 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"
@@ -351,6 +352,9 @@ func Init() {
/* ScheduleTimerFuncByInterval(func() {
jcq.JCQSchedule()
}, 10*time.Second, 10*time.Second)*/
ScheduleTimerFuncByInterval(func() {
jdslogin.RefreshQRCode()
}, 10*time.Second, 10*time.Minute)
ScheduleTimerFunc("AutoSaleStoreSku", func() {
cms.AutoSaleStoreSku(jxcontext.AdminCtx, nil, false)
}, autoSaleStoreSkuTimeList)