...
|
...
|
@@ -227,7 +227,7 @@ const getNewProduct = (brandId, gender, url, isApp) => { |
|
|
});
|
|
|
};
|
|
|
|
|
|
// 相关资讯
|
|
|
// 相关资讯--不能加cache,否则点赞有缓存.
|
|
|
const getRelatedEditorial = (brandId, uid, udid, clientType, isApp) => {
|
|
|
|
|
|
return serviceAPI.get('guang/service/v1/article/getArticleByBrand', {
|
...
|
...
|
@@ -324,12 +324,11 @@ const getDetailData = (id, uid, udid, gender, isApp, clientType) => { |
|
|
|
|
|
list.brand_ico = imageProcess.getSourceUrl(list.brand_ico, 'brandLogo');
|
|
|
|
|
|
return Promise.all([getRelatedEditorial(brandId, uid, udid, clientType, isApp), getNewProduct(brandId, gender, url, isApp)]).then((result) => {
|
|
|
return getNewProduct(brandId, gender, url, isApp).then((result) => {
|
|
|
|
|
|
list = _.assign(list, {
|
|
|
return _.assign(list, {
|
|
|
isLike: false,
|
|
|
infos: result[0],
|
|
|
newArrival: result[1],
|
|
|
newArrival: result,
|
|
|
jumpToApp: jumpToApp,
|
|
|
shareLink: '//guang.m.yohobuy.com/plustar/brandinfo?id=' + id,
|
|
|
shareTitle: list.brand_name,
|
...
|
...
|
@@ -337,8 +336,6 @@ const getDetailData = (id, uid, udid, gender, isApp, clientType) => { |
|
|
shareDesc: htmlProcess.removeHtml(list.brand_intro),
|
|
|
clientType: clientType
|
|
|
});
|
|
|
|
|
|
return list;
|
|
|
});
|
|
|
|
|
|
} else {
|
...
|
...
|
|