diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 6f6ba53c9..25b1d9da9 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -6642,12 +6642,9 @@ func SyncTiktokMainIdToLocal(ctx *jxcontext.Context, param *tiktok_store.MainSku func BatchSetRestockingPrice(ctx *jxcontext.Context, preData map[string][]mtwmapi.SpuData) error { var params []*mtwmapi.SpuData for k, v := range preData { - //获取京西平台storeID - globals.SugarLogger.Debugf("k==============%s", k) if storeID, err := dao.GetCodeAndIDByMeiTuan(k); err != nil { return errors.New(fmt.Sprintf("获取京西本地门店ID失败:%v 请重试", err)) } else { - globals.SugarLogger.Debugf("检查数据storeID===============%d", storeID) for _, i := range v { param := &mtwmapi.SpuData{ AppSpuCode: i.AppSpuCode, @@ -6656,11 +6653,6 @@ func BatchSetRestockingPrice(ctx *jxcontext.Context, preData map[string][]mtwmap } params = append(params, param) } - if len(params) > 0 { - for _, v := range params { - globals.SugarLogger.Debugf("params=========%s %s %s", v.AppSpuCode, v.PurchasePrice, v.SkuID) - } - } if err := mtwm.BatchSetRestockingPrice(ctx, storeID, k, params); err != nil { return err } diff --git a/business/partner/purchase/mtwm/store_sku2.go b/business/partner/purchase/mtwm/store_sku2.go index a91730ab6..f846cb18f 100644 --- a/business/partner/purchase/mtwm/store_sku2.go +++ b/business/partner/purchase/mtwm/store_sku2.go @@ -197,7 +197,6 @@ func (p *PurchaseHandler) DeleteStoreCategory(ctx *jxcontext.Context, storeID in //批量更新商品进货价 func BatchSetRestockingPrice(ctx *jxcontext.Context, storeID int, vendorStoreID string, param []*mtwmapi.SpuData) error { - globals.SugarLogger.Debugf("打印getStoreVendorOrgCode(storeID)==============%s", getStoreVendorOrgCode(storeID)) if err := getAPI(getStoreVendorOrgCode(storeID), storeID, "").BatchSetRestockingPrice(ctx.GetTrackInfo(), vendorStoreID, param); err != nil { return err }