Authored by 郭成尧

Merge branch 'hotfix/recommend' into 'master'

brand-id-undefined



See merge request !62
... ... @@ -62,7 +62,8 @@ const tool = {
dest.preferenceUrl = `/product/detail/preference${extra}`;
}
dest.brandId = origin.brand_info && origin.brand_info.brand_id || 0;
// dest.brandId = origin.brand_info && origin.brand_info.brand_id || 0;
dest.brandId = _.get(origin, 'brand_info.brand_id', 0);
dest.productSkn = origin.product_skn;
dest.id = origin.product_id;
... ...