diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 3dfbccc10..3a2a4ba60 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -2227,8 +2227,9 @@ func UpdateStoreName() error { for _, v := range data { storeDetail, _ := dao.GetStoreDetail2(db, v.StoreID, v.VendorStoreID, model.VendorIDMTPS) formalizeStore4Courier(storeDetail) - err := mtps.UpdateStoreName(utils.Int2Str(v.StoreID), storeDetail.Name) - globals.SugarLogger.Debug("err := %v,storeID : %d,storeName :%s", err, v.VendorStoreID, storeDetail.Name) + if err := mtps.UpdateStoreName(v.VendorStoreID, storeDetail.Name); err != nil { + globals.SugarLogger.Debugf("err := %s,storeID : %s,storeName :%s", utils.Format4Output(err, false), v.VendorStoreID, storeDetail.Name) + } } return nil diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 128c0c43f..c6a142384 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{ - "17:13:00", + "17:30:00", }) // 定时任务更新昨天的都要商品和本地商品id的映射关系