修复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:
parent
79f77e61ba
commit
c0b8000dee
@ -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 已过期");
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user