潘志宝
10 天以前 a365eb1d7213c5f28c6d2fc2b8f87099d71d17d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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失败");
}