...
|
...
|
@@ -11,12 +11,17 @@ const headerModel = require('../../../doraemon/models/header'); // 头部model |
|
|
const qs = require('querystring');
|
|
|
const tdk = require('../../../utils/getTDK');
|
|
|
const helpers = global.yoho.helpers;
|
|
|
const GENDER = {
|
|
|
'1,3': '男',
|
|
|
'2,3': '女'
|
|
|
};
|
|
|
|
|
|
const newDetail = {
|
|
|
index(req, res, next) {
|
|
|
let id;
|
|
|
let goodsId;
|
|
|
let productSkn;
|
|
|
let gender = req.cookies._Gender;
|
|
|
|
|
|
if (req.query.id) {
|
|
|
id = req.query.id;
|
...
|
...
|
@@ -62,7 +67,7 @@ const newDetail = { |
|
|
pageHeader: headerData,
|
|
|
result: result,
|
|
|
page: 'new-detail',
|
|
|
title: `${result.brandName}${result.sortName}${result.goodsName}|YOHO!BUY 有货`,
|
|
|
title: `${result.brandName}${GENDER[gender]}${result.sortName}${result.goodsName}|YOHO!BUY 有货`,
|
|
|
keywords: result.brandName + result.sortName + ',' + result.brandName + '官网专卖店,' +
|
|
|
result.brandName + '官方授权店,' + result.brandName + '正品,' + result.brandName + '打折,' +
|
|
|
result.brandName + '折扣店,' +
|
...
|
...
|
|