mtfosbot/libs/route-utils/res-message/index.js
Jay 15b54b9c87 1. add response message
2. add account schema
2018-08-15 00:15:28 +08:00

24 lines
347 B
JavaScript

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'
}
}
}