add page chk login

This commit is contained in:
root committed 2017-03-27 18:11:27 +08:00
1 parent e2040a181e
commit 52e18de9ac
7 files changed
+150 -27

No files matched your search

+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;