From 6ca1ac444e6bd0a7798ced5ed98d2f0674bef37a 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:42:10 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 9548e59ea..ce379d9c7 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -154,11 +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) 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) toAPI.SetToken(toStore.MtwmToken) }