diff --git a/backend/platform-system/src/main/java/com/yfd/platform/constant/Constant.java b/backend/platform-system/src/main/java/com/yfd/platform/constant/Constant.java
new file mode 100644
index 0000000..c460999
--- /dev/null
+++ b/backend/platform-system/src/main/java/com/yfd/platform/constant/Constant.java
@@ -0,0 +1,42 @@
+package com.yfd.platform.constant;
+
+/**
+ * @author TangWei
+ * @Date: 2023/3/3 17:40
+ * @Description: 常量类
+ */
+public class Constant {
+
+ public static final String LOGIN = "login:";
+ public static final String TOKEN = "token:";
+ public static final String USER_ID = "userid";
+ public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
+
+ public static final String CODE_KEY = "code-key-";
+ public static final long CODE_EXPIRATION_TIME = 1000 * 60;
+ /**
+ * 用于IP定位转换
+ */
+ public static final String REGION = "内网IP|内网IP";
+ /**
+ * win 系统
+ */
+ public static final String WIN = "win";
+
+ /**
+ * mac 系统
+ */
+ public static final String MAC = "mac";
+
+ /**
+ * 常用接口
+ */
+ public static class Url {
+
+ // IP归属地查询
+ // public static final String IP_URL = "http://whois.pconline.com
+ // .cn/ipJson.jsp?ip=%s&json=true";
+ public static final String IP_URL = "http://whois.pconline.com" +
+ ".cn/ipJson.jsp?ip=%s&json=true";
+ }
+}
diff --git a/backend/pom.xml b/backend/pom.xml
index 71e10ab..e06635e 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -32,7 +32,8 @@
5.8.8
4.1.2
4.1.2
- 1.2.70
+ 1.2.83
+ 2.0.53
3.0.2
2.3.28
1.11.3
@@ -40,7 +41,7 @@
1.7.2
1.6.2
1.21
-
+ 4.0.3
@@ -119,6 +120,12 @@
org.apache.commons
commons-lang3
+ 3.12.0
+
+
+ commons-codec
+ commons-codec
+ 1.15
org.projectlombok
@@ -146,6 +153,12 @@
fastjson
${fastjson.version}
+
+
+ com.alibaba.fastjson2
+ fastjson2
+ ${fastjson2.version}
+
org.freemarker
freemarker
@@ -189,6 +202,12 @@
springdoc-openapi-starter-webmvc-ui
${springdoc.version}
+
+
+ org.springframework.boot
+ spring-boot-starter-data-redis
+ ${redis.version}
+