package com.iailab.sdk.auth.enums;
|
|
import com.iailab.framework.common.exception.ErrorCode;
|
|
/**
|
* System 错误码枚举类
|
*
|
* system 系统,使用 1-002-000-000 段
|
*/
|
public interface ErrorCodeConstants {
|
|
// ========== AUTH 模块 1-002-000-000 ==========
|
ErrorCode AUTH_LOGIN_BAD_CREDENTIALS = new ErrorCode(1_002_000_000, "登录失败,账号密码不正确");
|
ErrorCode AUTH_BAD_CREDENTIALS = new ErrorCode(400, "client_id 或 client_secret 未正确传递");
|
ErrorCode AUTH_REFRESH_TOKEN_ERROR = new ErrorCode(1_002_000_001, "刷新token失败");
|
}
|