From 50672a5c91c33f2833f91981b562af3d88b9f1d6 Mon Sep 17 00:00:00 2001 From: hjl <1657978663@qq.com> Date: 星期四, 30 五月 2024 19:17:45 +0800 Subject: [PATCH] feat: 修复登录bug;token失效bug --- ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java index 2902af8..040f572 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java @@ -50,6 +50,10 @@ * 成功标记 */ public static final Integer SUCCESS = 200; + /** + * 仅会员查看 + */ + public static final Integer VIP_ERROR = 501; /** * 失败标记 @@ -59,6 +63,18 @@ * 登录失效 */ public static final Integer TOKEN_ERROR = 600; + /** + * 账号冻结 + */ + public static final Integer FREEZE = 502; + /** + * 短信验证码无效 + */ + public static final Integer ERRORCODE = 503; + /** + * 积分商城兑换失败code + */ + public static final Integer EXCHANGECODE = 506; /** * 登录成功状态 -- Gitblit v1.7.1