From a8191341a033da8660ec51f50149fae3ba9ebf63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 25 May 2023 17:11:12 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store.go | 2 +- business/jxstore/misc/misc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index d09a95482..3dfbccc10 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -2227,7 +2227,7 @@ func UpdateStoreName() error { for _, v := range data { storeDetail, _ := dao.GetStoreDetail2(db, v.StoreID, v.VendorStoreID, model.VendorIDMTPS) formalizeStore4Courier(storeDetail) - err := mtps.UpdateStoreName(storeDetail.VendorStoreID, storeDetail.Name) + err := mtps.UpdateStoreName(utils.Int2Str(v.StoreID), storeDetail.Name) globals.SugarLogger.Debug("err := %v,storeID : %d,storeName :%s", err, v.VendorStoreID, storeDetail.Name) } diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 648710087..128c0c43f 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -231,7 +231,7 @@ func Init() { ScheduleTimerFunc("UpdateStoreName ", func() { cms.UpdateStoreName() }, []string{ - "16:50:00", + "17:13:00", }) // 定时任务更新昨天的都要商品和本地商品id的映射关系