diff --git a/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/_remote.repositories b/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/_remote.repositories
index dd4d899..2a7dd93 100644
--- a/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/_remote.repositories
+++ b/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/_remote.repositories
@@ -1,4 +1,4 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
-#Fri Feb 20 18:33:58 CST 2026
+#Fri Feb 20 18:51:03 CST 2026
fund-common-0.0.1-SNAPSHOT.jar>=
fund-common-0.0.1-SNAPSHOT.pom>=
diff --git a/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/fund-common-0.0.1-SNAPSHOT.jar b/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/fund-common-0.0.1-SNAPSHOT.jar
index 1b1f8a1..177ed3d 100644
Binary files a/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/fund-common-0.0.1-SNAPSHOT.jar and b/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/fund-common-0.0.1-SNAPSHOT.jar differ
diff --git a/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/maven-metadata-local.xml b/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/maven-metadata-local.xml
index a18c0a0..69bf604 100644
--- a/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/maven-metadata-local.xml
+++ b/.mvn/repository/com/fundplatform/fund-common/0.0.1-SNAPSHOT/maven-metadata-local.xml
@@ -3,7 +3,7 @@
com.fundplatform
fund-common
- 20260220103348
+ 20260220105100
true
@@ -11,12 +11,12 @@
pom
0.0.1-SNAPSHOT
- 20260220103348
+ 20260220105100
jar
0.0.1-SNAPSHOT
- 20260220103348
+ 20260220105100
diff --git a/.mvn/repository/com/fundplatform/fund-common/maven-metadata-local.xml b/.mvn/repository/com/fundplatform/fund-common/maven-metadata-local.xml
index bcf12c1..0ac41af 100644
--- a/.mvn/repository/com/fundplatform/fund-common/maven-metadata-local.xml
+++ b/.mvn/repository/com/fundplatform/fund-common/maven-metadata-local.xml
@@ -6,6 +6,6 @@
0.0.1-SNAPSHOT
- 20260220103348
+ 20260220105100
diff --git a/.mvn/repository/com/fundplatform/fundplatform/0.0.1-SNAPSHOT/_remote.repositories b/.mvn/repository/com/fundplatform/fundplatform/0.0.1-SNAPSHOT/_remote.repositories
index 0aa0a3b..85ad111 100644
--- a/.mvn/repository/com/fundplatform/fundplatform/0.0.1-SNAPSHOT/_remote.repositories
+++ b/.mvn/repository/com/fundplatform/fundplatform/0.0.1-SNAPSHOT/_remote.repositories
@@ -1,3 +1,3 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
-#Fri Feb 20 18:33:50 CST 2026
+#Fri Feb 20 18:51:01 CST 2026
fundplatform-0.0.1-SNAPSHOT.pom>=
diff --git a/.mvn/repository/com/fundplatform/fundplatform/0.0.1-SNAPSHOT/maven-metadata-local.xml b/.mvn/repository/com/fundplatform/fundplatform/0.0.1-SNAPSHOT/maven-metadata-local.xml
index 2cc0b6d..61d18bf 100644
--- a/.mvn/repository/com/fundplatform/fundplatform/0.0.1-SNAPSHOT/maven-metadata-local.xml
+++ b/.mvn/repository/com/fundplatform/fundplatform/0.0.1-SNAPSHOT/maven-metadata-local.xml
@@ -3,7 +3,7 @@
com.fundplatform
fundplatform
- 20260220103348
+ 20260220105100
true
@@ -11,7 +11,7 @@
pom
0.0.1-SNAPSHOT
- 20260220103348
+ 20260220105100
diff --git a/.mvn/repository/com/fundplatform/fundplatform/maven-metadata-local.xml b/.mvn/repository/com/fundplatform/fundplatform/maven-metadata-local.xml
index f85cee8..5fc5da3 100644
--- a/.mvn/repository/com/fundplatform/fundplatform/maven-metadata-local.xml
+++ b/.mvn/repository/com/fundplatform/fundplatform/maven-metadata-local.xml
@@ -6,6 +6,6 @@
0.0.1-SNAPSHOT
- 20260220103348
+ 20260220105100
diff --git a/.mvn/repository/org/apache/maven/plugins/maven-clean-plugin/3.3.2/m2e-lastUpdated.properties b/.mvn/repository/org/apache/maven/plugins/maven-clean-plugin/3.3.2/m2e-lastUpdated.properties
index bb03949..e9203dc 100644
--- a/.mvn/repository/org/apache/maven/plugins/maven-clean-plugin/3.3.2/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/apache/maven/plugins/maven-clean-plugin/3.3.2/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008125
+#Fri Feb 20 18:45:42 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584342966
diff --git a/.mvn/repository/org/apache/maven/plugins/maven-compiler-plugin/3.11.0/m2e-lastUpdated.properties b/.mvn/repository/org/apache/maven/plugins/maven-compiler-plugin/3.11.0/m2e-lastUpdated.properties
index b3e1a24..0c7863d 100644
--- a/.mvn/repository/org/apache/maven/plugins/maven-compiler-plugin/3.11.0/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/apache/maven/plugins/maven-compiler-plugin/3.11.0/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008166
+#Fri Feb 20 18:45:42 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584342984
diff --git a/.mvn/repository/org/apache/maven/plugins/maven-deploy-plugin/3.1.1/m2e-lastUpdated.properties b/.mvn/repository/org/apache/maven/plugins/maven-deploy-plugin/3.1.1/m2e-lastUpdated.properties
index 24de30d..514a06d 100644
--- a/.mvn/repository/org/apache/maven/plugins/maven-deploy-plugin/3.1.1/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/apache/maven/plugins/maven-deploy-plugin/3.1.1/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008178
+#Fri Feb 20 18:45:43 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584343003
diff --git a/.mvn/repository/org/apache/maven/plugins/maven-install-plugin/3.1.1/m2e-lastUpdated.properties b/.mvn/repository/org/apache/maven/plugins/maven-install-plugin/3.1.1/m2e-lastUpdated.properties
index a8ce277..7e1cbbb 100644
--- a/.mvn/repository/org/apache/maven/plugins/maven-install-plugin/3.1.1/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/apache/maven/plugins/maven-install-plugin/3.1.1/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008176
+#Fri Feb 20 18:45:43 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584343001
diff --git a/.mvn/repository/org/apache/maven/plugins/maven-jar-plugin/3.3.0/m2e-lastUpdated.properties b/.mvn/repository/org/apache/maven/plugins/maven-jar-plugin/3.3.0/m2e-lastUpdated.properties
index 4c04b50..68abeab 100644
--- a/.mvn/repository/org/apache/maven/plugins/maven-jar-plugin/3.3.0/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/apache/maven/plugins/maven-jar-plugin/3.3.0/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008171
+#Fri Feb 20 18:45:42 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584342991
diff --git a/.mvn/repository/org/apache/maven/plugins/maven-resources-plugin/3.3.1/m2e-lastUpdated.properties b/.mvn/repository/org/apache/maven/plugins/maven-resources-plugin/3.3.1/m2e-lastUpdated.properties
index b7fc38a..62c7847 100644
--- a/.mvn/repository/org/apache/maven/plugins/maven-resources-plugin/3.3.1/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/apache/maven/plugins/maven-resources-plugin/3.3.1/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008165
+#Fri Feb 20 18:45:42 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584342979
diff --git a/.mvn/repository/org/apache/maven/plugins/maven-site-plugin/3.12.1/m2e-lastUpdated.properties b/.mvn/repository/org/apache/maven/plugins/maven-site-plugin/3.12.1/m2e-lastUpdated.properties
index 49a069b..69ec72e 100644
--- a/.mvn/repository/org/apache/maven/plugins/maven-site-plugin/3.12.1/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/apache/maven/plugins/maven-site-plugin/3.12.1/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008180
+#Fri Feb 20 18:45:43 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584343012
diff --git a/.mvn/repository/org/apache/maven/plugins/maven-surefire-plugin/3.1.2/m2e-lastUpdated.properties b/.mvn/repository/org/apache/maven/plugins/maven-surefire-plugin/3.1.2/m2e-lastUpdated.properties
index 93d13c8..52e46f3 100644
--- a/.mvn/repository/org/apache/maven/plugins/maven-surefire-plugin/3.1.2/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/apache/maven/plugins/maven-surefire-plugin/3.1.2/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008169
+#Fri Feb 20 18:45:42 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584342989
diff --git a/.mvn/repository/org/springframework/boot/spring-boot-maven-plugin/3.2.0/m2e-lastUpdated.properties b/.mvn/repository/org/springframework/boot/spring-boot-maven-plugin/3.2.0/m2e-lastUpdated.properties
index a50a2c4..78e21d4 100644
--- a/.mvn/repository/org/springframework/boot/spring-boot-maven-plugin/3.2.0/m2e-lastUpdated.properties
+++ b/.mvn/repository/org/springframework/boot/spring-boot-maven-plugin/3.2.0/m2e-lastUpdated.properties
@@ -1,2 +1,2 @@
-#Fri Feb 20 18:40:08 CST 2026
-central|https\://repo1.maven.org/maven2|null=1771584008173
+#Fri Feb 20 18:45:42 CST 2026
+central|https\://repo1.maven.org/maven2|null=1771584342997
diff --git a/fund-common/src/main/java/com/fundplatform/common/auth/TokenInfo.java b/fund-common/src/main/java/com/fundplatform/common/auth/TokenInfo.java
index 472f6ec..70c25e4 100644
--- a/fund-common/src/main/java/com/fundplatform/common/auth/TokenInfo.java
+++ b/fund-common/src/main/java/com/fundplatform/common/auth/TokenInfo.java
@@ -1,11 +1,15 @@
package com.fundplatform.common.auth;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+
import java.io.Serializable;
/**
* Token信息实体
* 存储在Redis中的用户会话信息
*/
+@JsonIgnoreProperties(ignoreUnknown = true)
public class TokenInfo implements Serializable {
private static final long serialVersionUID = 1L;
@@ -89,7 +93,8 @@ public class TokenInfo implements Serializable {
/**
* 检查Token是否过期
*/
+ @JsonIgnore
public boolean isExpired() {
- return System.currentTimeMillis() > expireTime;
+ return expireTime != null && System.currentTimeMillis() > expireTime;
}
}
diff --git a/fund-gateway/src/main/resources/application.yml b/fund-gateway/src/main/resources/application.yml
index 633bb6f..0261b24 100644
--- a/fund-gateway/src/main/resources/application.yml
+++ b/fund-gateway/src/main/resources/application.yml
@@ -5,13 +5,13 @@ spring:
application:
name: fund-gateway
- # Redis配置(用于限流)
+ # Redis配置(用于限流和Token验证)
data:
redis:
host: localhost
port: 6379
password: zjf@123456
- database: 1
+ database: 0
cloud:
compatibility-verifier: