...
|
...
|
@@ -9,7 +9,7 @@ |
|
|
const mRoot = '../models';
|
|
|
|
|
|
// 商品详情model
|
|
|
const itemModel = require(`${mRoot}/ItemModel`);
|
|
|
const detailAPI = require(`${mRoot}/detail-api`);
|
|
|
const moment = require('moment');
|
|
|
|
|
|
/* COOKIE标识访问的是男生频道 */
|
...
|
...
|
@@ -66,7 +66,7 @@ exports.index = (req,res, next) => { |
|
|
|
|
|
let gender = getGenderByCookie(req);
|
|
|
|
|
|
itemModel({
|
|
|
detailAPI({
|
|
|
id: pid,
|
|
|
ua: req.get('user-agent') || '',
|
|
|
channel: channel,
|
...
|
...
|
|