1
This commit is contained in:
@@ -185,7 +185,7 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, vendorOrg
|
|||||||
price := &sku_editPrice_request.SkuEditPriceParam{
|
price := &sku_editPrice_request.SkuEditPriceParam{
|
||||||
Price: v.VendorPrice,
|
Price: v.VendorPrice,
|
||||||
SkuId: tiktokSkuId,
|
SkuId: tiktokSkuId,
|
||||||
ProductId: utils.Str2Int64(v.VendorMainId),
|
ProductId: utils.Str2Int64(v.VendorSkuID),
|
||||||
}
|
}
|
||||||
//更新子品
|
//更新子品
|
||||||
if err = api.EditPrice(price); err != nil {
|
if err = api.EditPrice(price); err != nil {
|
||||||
|
|||||||
@@ -555,6 +555,7 @@ func getProductSkuId4UpdateStock(api *tiktokShop.API, skuInfo *partner.StoreSkuI
|
|||||||
for _, v := range childrenSku.SpecPrices {
|
for _, v := range childrenSku.SpecPrices {
|
||||||
tiktokSkuId = v.SkuId
|
tiktokSkuId = v.SkuId
|
||||||
skuInfo.VendorSonSkuID = utils.Int64ToStr(v.SkuId)
|
skuInfo.VendorSonSkuID = utils.Int64ToStr(v.SkuId)
|
||||||
|
skuInfo.VendorSkuID = childrenSku.ProductIdStr
|
||||||
return tiktokSkuId, nil
|
return tiktokSkuId, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user