Authored by yyq

seo

... ... @@ -1604,6 +1604,8 @@ exports.getBrandShopSeo = (channel, info, qs) => {
}
}
let description = `有货网${params.nameEn}旗舰店销售${params.name}正品商品,100%质量保证,支持货到付款,想了解${params.name}价格、图片、评价等信息,就上YOHO!BUY 有货中国最大的潮流商品购物网站!`; // eslint-disable-line
if (qs && qs.gender) {
if (qs.gender === '1,3') {
channel = 'boys';
... ... @@ -1612,21 +1614,18 @@ exports.getBrandShopSeo = (channel, info, qs) => {
}
Object.assign(params, ctype[channel] || ctype.boys);
Object.assign(resData, {
title: `${params.nameEn} | ${params.name} ${params.brandType}`,
title: `${params.nameEn} | ${params.name} ${params.brandType} | 正品保证, YOHO!BUY 有货`,
keywords: `${params.nameEn}, ${params.name} ${params.fashionType},${params.nameEn} ${params.brandType}`,
description: `${params.nameEn}正品网购。${params.name}官方授权!`
description: description
});
} else {
Object.assign(resData, {
title: `${params.nameEn} | ${params.name}旗舰店`,
keywords: `${params.nameEn}, ${params.name}旗舰店`,
description: `${params.nameEn}正品网购。${params.name}官方授权!`
title: `${params.nameEn} | ${params.name}品牌旗舰店 | 正品保证, YOHO!BUY 有货`,
keywords: `${params.nameEn}, ${params.name}品牌旗舰店,${params.name}名称正品`,
description: description
});
}
resData.title += resData.title ? ' | YOHO!BUY 有货 100%正品保证' : '';
resData.description += resData.description ? ' YOHO!BUY 有货中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。' : ''; // eslint-disable-line
return resData;
};
... ...