add page chk login

This commit is contained in:
Jay
2017-03-27 18:11:27 +08:00
parent e2040a181e
commit 52e18de9ac
7 changed files with 150 additions and 27 deletions
+7
View File
@@ -393,6 +393,13 @@ router
return n();
})
})
.post('/chklogin', (req,res,n) => {
if(!tool.checkPermission(req)) return n('ERR9001');
res.api_res = {
record: []
}
n();
})
.all('*', rt.send);
module.exports = router;