Authored by 陈峰

解决逛列表参数

@@ -187,7 +187,7 @@ const index = (req, res, next) => { @@ -187,7 +187,7 @@ const index = (req, res, next) => {
187 let param = { 187 let param = {
188 uid: req.user.uid || req.query.uid, 188 uid: req.user.uid || req.query.uid,
189 udid: req.user.udid, 189 udid: req.user.udid,
190 - type: req.query.type || '0', 190 + type: req.query.type || req.query.id || '0',
191 gender: req.query.gender || req.query.channel && typeLib.gender[req.query.channel] || '1,3' 191 gender: req.query.gender || req.query.channel && typeLib.gender[req.query.channel] || '1,3'
192 }; 192 };
193 193