Authored by yyq

seo

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