This commit is contained in:
邹宗楠
2022-10-19 16:12:10 +08:00
parent 6a323aea9a
commit 042c52fe66
2 changed files with 4 additions and 14 deletions

View File

@@ -305,13 +305,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
// spec_prices
param.SpecPrices = GetSpecPrices(param.Specs, vendorStoreID, 0, storeSku)
// ProductFormatNew 获取商品属性
//productFormatNew, err := GetProductFormatNew(param.CategoryLeafId, storeDetail.VendorOrgCode)
//globals.SugarLogger.Debugf("er=====productFormatNew=========%s", productFormatNew)
//if err != nil {
// return nil, err
//}
//param.ProductFormatNew = productFormatNew
param.ProductFormatNew = storeSku.TiktokAttribute
// 获取品牌
param.StandardBrandId, err = api.GetSkuBrand(param.CategoryLeafId)
@@ -430,12 +424,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
// spec_prices
param.SpecPrices = GetSpecPrices(param.Specs, vendorStoreID, utils.Str2Int64(storeSku.VendorSkuID), storeSku)
// ProductFormatNew 获取商品属性
//productFormatNew, err := GetProductFormatNew(param.CategoryLeafId, storeDetail.VendorOrgCode)
//if err != nil {
// return nil, err
//}
//param.ProductFormatNew = productFormatNew
param.ProductFormatNew = storeSku.TiktokAttribute
// 获取品牌
//brandID, err := api.GetSkuBrand(param.CategoryLeafId)