This commit is contained in:
邹宗楠
2022-12-21 16:54:36 +08:00
parent 8ba030360d
commit f548726ae3
2 changed files with 2 additions and 6 deletions

View File

@@ -181,10 +181,11 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, vendorOrg
globals.SugarLogger.Debugf("看看走这儿了没,是不是更新 参数failedList1 %s", utils.Format4Output(failedList, false))
return failedList, err
}
globals.SugarLogger.Debugf("====SkuId:= %d,ProductId := %d ", tiktokSkuId, utils.Str2Int64(v.VendorMainId))
price := &sku_editPrice_request.SkuEditPriceParam{
Price: v.VendorPrice,
SkuId: tiktokSkuId,
ProductId: utils.Str2Int64(v.VendorSkuID),
ProductId: utils.Str2Int64(v.VendorMainId),
}
//更新子品
if err = api.EditPrice(price); err != nil {