Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 |
-
Please register or login to post a comment