Authored by 陈峰

add noheader query

... ... @@ -75,6 +75,10 @@ module.exports = () => {
res.locals.indexUrl = helpers.urlFormat('/?go=1'); // 悬挂首页
res.locals.showHeader = true;
if (req.query.noheader) {
res.locals.showHeader = false;
}
next();
};
};
... ...