Authored by 周少峰

guang cache

... ... @@ -44,7 +44,7 @@ exports.index = (req, res, next) => {
reqCtx.getTopList(gender, uid, udid, page, true)
]).then(ret => {
if (_.get(ret[2], 'msgs') || _.get(ret[7], 'msgs')) {
if (!_.get(ret[2], 'msgs')) {
res.set('Cache-Control', 'no-cache');
}
... ...