修复yudao-module-system-api/ErrorCodeConstants.java中错误码重复的问题

// ========== OAuth2 授权 1002022000 =========
ErrorCode OAUTH2_CODE_NOT_EXISTS = new ErrorCode(1002022000, "code 不存在");
ErrorCode OAUTH2_CODE_EXPIRE = new ErrorCode(1002022000, "code 已过期");
二者错误码重复,现将OAUTH2_CODE_EXPIRE的错误码改为1002022001。

Signed-off-by: 王添翼 <2100022743@stu.pku.edu.cn>
This commit is contained in:
王添翼 2022-12-25 02:20:50 +00:00 committed by Gitee
parent 79f77e61ba
commit c0b8000dee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -139,6 +139,6 @@ public interface ErrorCodeConstants {
// ========== OAuth2 授权 1002022000 =========
ErrorCode OAUTH2_CODE_NOT_EXISTS = new ErrorCode(1002022000, "code 不存在");
ErrorCode OAUTH2_CODE_EXPIRE = new ErrorCode(1002022000, "code 已过期");
ErrorCode OAUTH2_CODE_EXPIRE = new ErrorCode(1002022001, "code 已过期");
}