1
This commit is contained in:
@@ -664,7 +664,7 @@ func upDateChildrenPriceStockLaunch(api *tiktokShop.API, storeSku *dao.StoreSkuS
|
|||||||
|
|
||||||
// 查询商品详情,获取商品的抖音skuId
|
// 查询商品详情,获取商品的抖音skuId
|
||||||
func getProductSkuID(api *tiktokShop.API, storeSku *dao.StoreSkuSyncInfo, syncType string, productId int64) (childrenSkuId int64, failedList []*partner.StoreSkuInfoWithErr) {
|
func getProductSkuID(api *tiktokShop.API, storeSku *dao.StoreSkuSyncInfo, syncType string, productId int64) (childrenSkuId int64, failedList []*partner.StoreSkuInfoWithErr) {
|
||||||
if storeSku.VendorSonSkuID != "" && storeSku.VendorSonSkuID != storeSku.VendorSkuID {
|
if storeSku.VendorSonSkuID != "" && storeSku.VendorSonSkuID != storeSku.VendorSkuID && utils.Int2Str(storeSku.SkuID) != storeSku.VendorSkuID {
|
||||||
return utils.Str2Int64(storeSku.VendorSonSkuID), nil
|
return utils.Str2Int64(storeSku.VendorSonSkuID), nil
|
||||||
}
|
}
|
||||||
childrenDetail, err := api.GetSkuDetail(utils.Int64ToStr(productId), "")
|
childrenDetail, err := api.GetSkuDetail(utils.Int64ToStr(productId), "")
|
||||||
|
|||||||
Reference in New Issue
Block a user