diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 361d6ad4d..d50193585 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -923,6 +923,7 @@ func CopyMtToEBai(ctx *jxcontext.Context, fromStore, toStore *dao.StoreDetail, i for { // 同步商品 fromFoodList, err1 := fromApi.RetailListAll(fromStore.VendorStoreID, i) + globals.SugarLogger.Debugf("RetailListAll : %d_%d", i, len(fromFoodList)) if len(fromFoodList) == 0 || fromFoodList == nil { return nil, fmt.Errorf("fromFoodList 为空 %s ,i:= %d", utils.Format4Output(err1, false), i) } @@ -1008,8 +1009,8 @@ func BatchInitSkuMtwm2EBai(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, t customSkuID = fmt.Sprintf("%d_%d", storeSku.Ctime, k) } _, err := toApi.SkuCreate2(ctx.GetTrackInfo(), storeID, customSkuID, params) - globals.SugarLogger.Debugf("-------erbaierr := %v", err) if err != nil { + globals.SugarLogger.Debugf("-------erbaierr := %v", err) errList = append(errList, err) } }