Authored by zhangxiaoru

guang url

@@ -154,13 +154,11 @@ const pageData = (req, res, next) => { @@ -154,13 +154,11 @@ const pageData = (req, res, next) => {
154 */ 154 */
155 const index = (req, res, next) => { 155 const index = (req, res, next) => {
156 156
157 - let gender = req.cookies._Channel || 'boys';  
158 -  
159 let responseData = { 157 let responseData = {
160 module: 'guang', 158 module: 'guang',
161 page: 'index', 159 page: 'index',
162 title: '逛 | Yoho!Buy有货 | 潮流购物逛不停', 160 title: '逛 | Yoho!Buy有货 | 潮流购物逛不停',
163 - showFooterTab: footerModel.getUrlData('guang', gender) 161 + showFooterTab: footerModel.getUrlData('guang')
164 }; 162 };
165 163
166 let param = { 164 let param = {
@@ -23,8 +23,6 @@ exports.index = (req, res, next) => { @@ -23,8 +23,6 @@ exports.index = (req, res, next) => {
23 udid: require('md5')(req.ip) 23 udid: require('md5')(req.ip)
24 }; 24 };
25 25
26 - let gender = req.cookies._Channel || 'boys';  
27 -  
28 indexModel.index(params).then(result => { 26 indexModel.index(params).then(result => {
29 if (result) { 27 if (result) {
30 res.render('home', Object.assign(result, { 28 res.render('home', Object.assign(result, {
@@ -36,7 +34,7 @@ exports.index = (req, res, next) => { @@ -36,7 +34,7 @@ exports.index = (req, res, next) => {
36 pageChannel: { 34 pageChannel: {
37 boys: true 35 boys: true
38 }, 36 },
39 - showFooterTab: footerModel.getUrlData('mine', gender) 37 + showFooterTab: footerModel.getUrlData('mine')
40 })); 38 }));
41 } 39 }
42 }).catch(next); 40 }).catch(next);