Authored by zhangxiaoru

明星原创

@@ -165,16 +165,15 @@ const tag = (req, res, next) => { @@ -165,16 +165,15 @@ const tag = (req, res, next) => {
165 pageHeader: headerData, 165 pageHeader: headerData,
166 module: 'guang', 166 module: 'guang',
167 page: 'index-editor', 167 page: 'index-editor',
168 - title: tagTitle + ' | Yoho!Buy有货 | 潮流购物逛不停',  
169 - pageFooter: true 168 + title: tagTitle + ' | Yoho!Buy有货 | 潮流购物逛不停'
170 }; 169 };
171 170
172 let param = { 171 let param = {
173 tag: req.query.query, 172 tag: req.query.query,
174 isApp: req.query.app_version || req.query.appVersion || false, 173 isApp: req.query.app_version || req.query.appVersion || false,
175 - gender: req.query.gender || req.cookies._Channel && channels[req.cookies._Channel] || '1,3',  
176 - uid: req.user.uid,  
177 - udid: req.user.udid, 174 + gender: req.query.gender || '1,3',
  175 + uid: req.user.uid || 0,
  176 + udid: req.sessionID,
178 type: req.query.type || 0 177 type: req.query.type || 0
179 178
180 }; 179 };
@@ -141,10 +141,10 @@ const _article = (param) => { @@ -141,10 +141,10 @@ const _article = (param) => {
141 page: param.page || 1, 141 page: param.page || 1,
142 uid: param.uid, 142 uid: param.uid,
143 udid: param.udid, 143 udid: param.udid,
144 - sort_id: param.type === '0' ? param.type : '1', 144 + sort_id: 0,
145 tag: param.tag ? param.tag : null, 145 tag: param.tag ? param.tag : null,
146 - author_id: param.authorId ? param.authorId : null,  
147 - limit: param.limit ? param.limit : null 146 + //author_id: param.authorId ? param.authorId : null,
  147 + //limit: param.limit ? param.limit : null
148 }, { 148 }, {
149 cache: true, 149 cache: true,
150 code: 200 150 code: 200