From 61ed2f49344b1fe938b3b4ac7152d4ea12f111d3 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 11 Jul 2019 11:23:21 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=90=AF=E7=94=A8=E6=AF=8F=E6=99=9A?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E6=98=93=E8=81=94=E4=BA=91=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/misc/misc.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index c994d93e4..7b5e04075 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -9,6 +9,7 @@ import ( "git.rosy.net.cn/jx-callback/business/jxstore/cms" "git.rosy.net.cn/jx-callback/business/jxutils" "git.rosy.net.cn/jx-callback/business/jxutils/jxcontext" + "git.rosy.net.cn/jx-callback/business/jxutils/netprinter" "git.rosy.net.cn/jx-callback/business/jxutils/tasksch" "git.rosy.net.cn/jx-callback/business/model" "git.rosy.net.cn/jx-callback/business/model/dao" @@ -153,7 +154,7 @@ func doDailyWork() { cms.EnableHaveRestStores(jxcontext.AdminCtx, true, true) // cms.CurVendorSync.FullSyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDJD}, nil, true, true) cms.CurVendorSync.SyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDJD, model.VendorIDEBAI, model.VendorIDMTWM}, nil, nil, false, true, true) - // netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true) + netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true) } func ScheduleTimerFunc(handler func(), timeList []string) {