Authored by hongweigao

gender

... ... @@ -129,18 +129,18 @@ exports.plusstarList = (channel, req) => {
brandsHomePage: true
};
let gender_channel;
let genderChannel;
if (channel === 'boys') {
gender_channel = '1,3';
genderChannel = '1,3';
} else if (channel === 'girls') {
gender_channel = '2,3';
genderChannel = '2,3';
} else {
gender_channel = '1,2,3';
genderChannel = '1,2,3';
}
let id = req.query.id || '',
gender = req.query.gender || gender_channel,
gender = req.query.gender || genderChannel,
limit = 20,
page = parseInt(req.query.page, 10) || 1;
... ...