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