1. add response message

2. add account schema
This commit is contained in:
Jay
2018-08-15 00:15:28 +08:00
parent c072d18c36
commit 15b54b9c87
5 changed files with 42 additions and 4 deletions
+23
View File
@@ -0,0 +1,23 @@
module.exports = {
Success: {
status: 200,
obj: {
status: 200,
message: 'success'
}
},
DataFormat: {
status: 400,
obj: {
status: 400,
message: 'input data format error'
}
},
InternalError: {
status: 500,
obj: {
status: 500,
message: 'server internal error'
}
}
}