...
|
...
|
@@ -20,16 +20,16 @@ const index = (req, res, next) => { |
|
|
let limit = req.query.limit || 20;
|
|
|
let appType = 1;
|
|
|
let udid = md5(req.ip);
|
|
|
let channel = req.cookies._Channel || 'women';
|
|
|
let channel = req.cookies._Channel || '301';
|
|
|
let gender = '';
|
|
|
let name = '';
|
|
|
let link = '';
|
|
|
|
|
|
if (channel === 'men') {
|
|
|
if (channel === '301') {
|
|
|
gender = '1,3';
|
|
|
name = 'MEN首页';
|
|
|
link = 'http://www.yohoblk.com';
|
|
|
} else if (channel === 'women') {
|
|
|
} else if (channel === '302') {
|
|
|
gender = '2,3';
|
|
|
name = 'WOMEN首页';
|
|
|
link = 'http://www.yohoblk.com/women';
|
...
|
...
|
@@ -85,17 +85,17 @@ const list = (req, res) => { |
|
|
let tag = req.query.query;
|
|
|
let authorId = req.query.authorId;
|
|
|
let udid = md5(req.ip);
|
|
|
let channel = req.cookies._Channel || 'men';
|
|
|
let channel = req.cookies._Channel || '301';
|
|
|
let gender = '';
|
|
|
let name = '';
|
|
|
let link = '';
|
|
|
let appType = 1;
|
|
|
|
|
|
if (channel === 'men') {
|
|
|
if (channel === '301') {
|
|
|
gender = '1,3';
|
|
|
name = 'MEN首页';
|
|
|
link = 'http://www.yohoblk.com';
|
|
|
} else if (channel === 'women') {
|
|
|
} else if (channel === '302') {
|
|
|
gender = '2,3';
|
|
|
name = 'WOMEN首页';
|
|
|
link = 'http://www.yohoblk.com/women';
|
...
|
...
|
@@ -156,14 +156,14 @@ const detail = (req, res, next) => { |
|
|
let appType = 1;
|
|
|
let uid = req.user.uid;
|
|
|
let udid = md5(req.ip);
|
|
|
let channel = req.cookies._Channel || 'men';
|
|
|
let channel = req.cookies._Channel || '301';
|
|
|
let name = '';
|
|
|
let link = '';
|
|
|
|
|
|
if (channel === 'men') {
|
|
|
if (channel === '301') {
|
|
|
name = 'MEN首页';
|
|
|
link = 'http://www.yohoblk.com';
|
|
|
} else if (channel === 'women') {
|
|
|
} else if (channel === '302') {
|
|
|
name = 'WOMEN首页';
|
|
|
link = 'http://www.yohoblk.com/women';
|
|
|
} else {
|
...
|
...
|
|