From 7d49a5a40a0c8009006f60fbd66a91f4f25558fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 29 Jan 2024 18:46:28 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index ce379d9c7..7e0964c36 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -154,13 +154,13 @@ func BatchInitSkuEBai2EBai(ctx *jxcontext.Context, fromSku []*ebaiapi.SkuInfo, t func CopyMtToMT(ctx *jxcontext.Context, fromStore, toStore *dao.StoreDetail, isAsync bool, offSet int) (hint string, err error) { fromAPI := partner.CurAPIManager.GetAPI(model.VendorIDMTWM, fromStore.VendorOrgCode).(*mtwmapi.API) if fromStore.VendorOrgCode == "5873" { - globals.SugarLogger.Debugf("=====token1 := %s", fromStore.MtwmToken) + globals.SugarLogger.Debugf("=====token1 := %s", utils.Format4Output(fromStore, false)) fromAPI.SetToken(fromStore.MtwmToken) } toAPI := partner.CurAPIManager.GetAPI(model.VendorIDMTWM, toStore.VendorOrgCode).(*mtwmapi.API) if toStore.VendorOrgCode == "5873" { - globals.SugarLogger.Debugf("=====token2 := %s", fromStore.MtwmToken) + globals.SugarLogger.Debugf("=====token1 := %s", utils.Format4Output(toStore, false)) toAPI.SetToken(toStore.MtwmToken) }