...
|
...
|
@@ -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 || '301';
|
|
|
let channel = req.cookies._Channel || 'men';
|
|
|
let gender = '';
|
|
|
let name = '';
|
|
|
let link = '';
|
|
|
|
|
|
if (channel === '301') {
|
|
|
if (channel === 'men') {
|
|
|
gender = '1,3';
|
|
|
name = 'MEN首页';
|
|
|
link = 'http://www.yohoblk.com';
|
|
|
} else if (channel === '302') {
|
|
|
} else if (channel === 'women') {
|
|
|
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 || '301';
|
|
|
let channel = req.cookies._Channel || 'men';
|
|
|
let gender = '';
|
|
|
let name = '';
|
|
|
let link = '';
|
|
|
let appType = 1;
|
|
|
|
|
|
if (channel === '301') {
|
|
|
if (channel === 'men') {
|
|
|
gender = '1,3';
|
|
|
name = 'MEN首页';
|
|
|
link = 'http://www.yohoblk.com';
|
|
|
} else if (channel === '302') {
|
|
|
} else if (channel === 'women') {
|
|
|
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 || '301';
|
|
|
let channel = req.cookies._Channel || 'men';
|
|
|
let name = '';
|
|
|
let link = '';
|
|
|
|
|
|
if (channel === '301') {
|
|
|
if (channel === 'men') {
|
|
|
name = 'MEN首页';
|
|
|
link = 'http://www.yohoblk.com';
|
|
|
} else if (channel === '302') {
|
|
|
} else if (channel === 'women') {
|
|
|
name = 'WOMEN首页';
|
|
|
link = 'http://www.yohoblk.com/women';
|
|
|
} else {
|
...
|
...
|
|