1
This commit is contained in:
@@ -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) {
|
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)
|
fromAPI := partner.CurAPIManager.GetAPI(model.VendorIDMTWM, fromStore.VendorOrgCode).(*mtwmapi.API)
|
||||||
if fromStore.VendorOrgCode == "5873" {
|
if fromStore.VendorOrgCode == "5873" {
|
||||||
|
globals.SugarLogger.Debugf("=====token1 := %s", fromStore.MtwmToken)
|
||||||
fromAPI.SetToken(fromStore.MtwmToken)
|
fromAPI.SetToken(fromStore.MtwmToken)
|
||||||
}
|
}
|
||||||
|
|
||||||
toAPI := partner.CurAPIManager.GetAPI(model.VendorIDMTWM, toStore.VendorOrgCode).(*mtwmapi.API)
|
toAPI := partner.CurAPIManager.GetAPI(model.VendorIDMTWM, toStore.VendorOrgCode).(*mtwmapi.API)
|
||||||
if toStore.VendorOrgCode == "5873" {
|
if toStore.VendorOrgCode == "5873" {
|
||||||
|
globals.SugarLogger.Debugf("=====token2 := %s", fromStore.MtwmToken)
|
||||||
toAPI.SetToken(toStore.MtwmToken)
|
toAPI.SetToken(toStore.MtwmToken)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user