feat(auth): 集成BCrypt密码加密与错误码扩展

This commit is contained in:
2025-12-03 20:20:22 +08:00
parent ecd6dba9bd
commit ba601d329c
4 changed files with 33 additions and 3 deletions

View File

@@ -29,7 +29,8 @@ public enum ErrorCode {
TOKEN_NO_PREFIX(40109, "未按照指定前缀提交令牌"),
FILE_NAME_ERROR(40002, "文件名错误"),
USER_NOT_FOUND(40401, "用户不存在"),
USER_INFO_UPDATE_FAILED(50002, "用户信息更新失败");
USER_INFO_UPDATE_FAILED(50002, "用户信息更新失败"),
PASSWORD_OR_MAIL_ERROR(50003,"密码或邮箱错误" );
/**
* 状态码
*/