diff --git a/libs/route-utils/res-message/index.js b/libs/route-utils/res-message/index.js index 922efa7..bdd5ca6 100644 --- a/libs/route-utils/res-message/index.js +++ b/libs/route-utils/res-message/index.js @@ -13,6 +13,22 @@ module.exports = { message: 'input data format error' } }, + NotLogin: { + status: 401, + obj: { + status: 401, + message: 'login first' + } + }, + NotFound: { + status: 404, + obj: { + status: { + status: 404, + message: 'not found' + } + } + }, InternalError: { status: 500, obj: {