Authored by OF1706

top list undefined

... ... @@ -53,7 +53,7 @@ exports.index = (req, res, next) => {
guang: {
slider: ret[0],
msgTypes: ret[1],
msgs: (+type === 0 && +page === 1) ?
msgs: (+type === 0 && +page === 1 && ret[7].msgs !== undefined) ?
_.concat(ret[7] && ret[7].msgs, ret[2] && ret[2].msgs) : ret[2] && ret[2].msgs,
hotTags: ret[3],
ads: ret[4],
... ...