admin路由

This commit is contained in:
chaosBreaking
2019-10-07 20:03:04 +08:00
parent 2b82735eb0
commit c9db8c75cd
2 changed files with 5 additions and 1 deletions

View File

@@ -100,5 +100,9 @@ module.exports = {
data,
sum
});
},
async handleTicket (req, res) {
const { adminId } = res.locals.user;
if (!adminId) return res.json({ code: 1, msg: '非法访问' });
}
};