1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user