From dda33478829592be6eea4c78b6519142a9dd93bb Mon Sep 17 00:00:00 2001
From: hjl <1657978663@qq.com>
Date: 星期三, 26 六月 2024 18:20:19 +0800
Subject: [PATCH] fix: 学习端bug

---
 ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java |  135 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 135 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..5ee3e2c 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;
 
     /**
      * 登录成功状态
@@ -143,6 +159,95 @@
     public static final Integer SIXTY = 60;
 
     /**
+     * - 前缀
+     */
+    public static final String REDUCE = "-";
+
+    /**
+     * 空字符串
+     */
+    public static final String EMPTY_STR = "";
+
+    /**
+     * 0数字
+     */
+    public static final Integer ZERO = 0;
+
+    /**
+     * 1数字
+     */
+    public static final Integer ONE = 1;
+    /**
+     * 字符串 1
+     */
+    public static final String ONE_STR = "1";
+    /**
+     * 字符串 2
+     */
+    public static final String TWO_STR = "2";
+    /**
+     * 数字 2
+     */
+    public static final Integer TWO = 2;
+    /**
+     * 字符串 3
+     */
+    public static final String THREE_STR = "3";
+    /**
+     * 数字 3
+     */
+    public static final Integer THREE = 3;
+    /**
+     * 字符串 4
+     */
+    public static final String FOUR_STR = "4";
+    /**
+     * 数字 4
+     */
+    public static final Integer FOUR = 4;
+    /**
+     * 字符串5
+     */
+    public static final String FIVE_STR = "5";
+    /**
+     * 数字 5
+     */
+    public static final Integer FIVE = 5;
+    /**
+     * 字符串6
+     */
+    public static final String SIX_STR = "6";
+    /**
+     * 数字6
+     */
+    public static final Integer SIX = 6;
+    /**
+     * 字符串7
+     */
+    public static final String SEVEN_STR = "7";
+    /**
+     * 数字7
+     */
+    public static final Integer SEVEN = 7;
+
+    /**
+     * 数字10
+     */
+    public static final Integer TEN = 10;
+
+
+
+    /**
+     * -1
+     */
+    public static final Integer BURDEN_ONE = -1;
+
+    /**
+     * 1数字
+     */
+    public static final Integer ONE_HUNDRED = 100;
+
+    /**
      * 1000数字
      */
     public static final Integer ONE_THOUSAND = 1000;
@@ -187,4 +292,34 @@
      */
     public static final String ERR_CODE = "errcode";
 
+    /**
+     * 积分来源 - 完成学习
+     */
+    public static final String COMPLETE_LEARNING = "完成学习";
+
+    /**
+     * 积分来源 - 完成游戏
+     */
+    public static final String COMPLETE_GAME = "完成游戏";
+
+    /**
+     * 积分来源 - 完成听故事
+     */
+    public static final String COMPLETE_STORY = "完成听故事";
+
+    /**
+     * 超级听力
+     */
+    public static final String HEARING = "超级听力";
+
+    /**
+     * 超级听力
+     */
+    public static final String MEMORY = "超级记忆";
+
+    /**
+     * 每日学习时长
+     */
+    public static final String ONLINE_DURATION = "每日学习时长";
+
 }

--
Gitblit v1.7.1