Authored by 陈轩

商品详情页改变获取 brand_id的路径由data.brand_info.brand_id改为data.brand_id

@@ -1250,8 +1250,8 @@ const _detailDataPkg = (origin, ua) => { @@ -1250,8 +1250,8 @@ const _detailDataPkg = (origin, ua) => {
1250 let extra = `?productSkn=${origin.product_skn}&brandId=${origin.brand_info.brand_id}`; 1250 let extra = `?productSkn=${origin.product_skn}&brandId=${origin.brand_info.brand_id}`;
1251 1251
1252 dest.preferenceUrl = `/product/detail/preference${extra}`; 1252 dest.preferenceUrl = `/product/detail/preference${extra}`;
1253 - dest.brandId = origin.brand_info.brand_id;  
1254 } 1253 }
  1254 + dest.brandId = origin.brand_id || 0;
1255 1255
1256 dest.productSkn = origin.product_skn; 1256 dest.productSkn = origin.product_skn;
1257 1257