1. add response message

2. add account schema
This commit is contained in:
root committed 2018-08-15 00:15:28 +08:00
1 parent c072d18c36
commit 15b54b9c87
5 files changed
+41 -3

No files matched your search

-1
View File
@@ -20,7 +20,6 @@ r.use(async (c, n) => {
r.post('/login', koaBody(), async (c, n) => {
if (!c.chkBody('account', 'string') || !c.chkBody('password', 'string')) throw new Error('DataFormat')
})
module.exports = r