潘志宝
2025-03-03 a365eb1d7213c5f28c6d2fc2b8f87099d71d17d4
提交 | 用户 | 时间
b233cc 1 package com.iailab.sdk.auth.enums;
H 2
3 import com.iailab.framework.common.exception.ErrorCode;
4
5 /**
6  * System 错误码枚举类
7  *
8  * system 系统,使用 1-002-000-000 段
9  */
10 public interface ErrorCodeConstants {
11
12     // ========== AUTH 模块 1-002-000-000 ==========
13     ErrorCode AUTH_LOGIN_BAD_CREDENTIALS = new ErrorCode(1_002_000_000, "登录失败,账号密码不正确");
14     ErrorCode AUTH_BAD_CREDENTIALS = new ErrorCode(400, "client_id 或 client_secret 未正确传递");
15     ErrorCode AUTH_REFRESH_TOKEN_ERROR = new ErrorCode(1_002_000_001, "刷新token失败");
16 }