This commit is contained in:
邹宗楠
2023-03-14 17:45:39 +08:00
parent d1b4872b71
commit d61e786e27

View File

@@ -664,6 +664,8 @@ func upDateChildrenPriceStockLaunch(api *tiktokShop.API, storeSku *dao.StoreSkuS
// 查询商品详情,获取商品的抖音skuId
func getProductSkuID(api *tiktokShop.API, storeSku *dao.StoreSkuSyncInfo, syncType string, productId int64) (childrenSkuId int64, failedList []*partner.StoreSkuInfoWithErr) {
globals.SugarLogger.Debugf("storeSku========:%s", utils.Format4Output(storeSku, false))
globals.SugarLogger.Debugf("productId========:%s", utils.Format4Output(productId, false))
if storeSku.VendorSonSkuID != "" && storeSku.VendorSonSkuID != storeSku.VendorSkuID && utils.Int2Str(storeSku.SkuID) != storeSku.VendorSkuID {
return utils.Str2Int64(storeSku.VendorSonSkuID), nil
}