后端完成jwt登录接口

This commit is contained in:
2024-08-31 22:52:31 +08:00
parent a4322aaaed
commit b3333799cd
5 changed files with 146 additions and 3 deletions

View File

@@ -42,6 +42,16 @@ const ServerStdResponse = {
code: -5002,
message: 'captcha is not right, please try again'
}
},
USER: {
NOTFOUND: {
code: -6000,
message: 'user is not found'
},
PASSWORD_ERROR:{
code: -6001,
message: 'user password is error'
}
}
} as const;