From dbbb47a1a92f7f3896cf199490fd01bfd2b79e2c Mon Sep 17 00:00:00 2001 From: click33 <2393584716@qq.com> Date: Sun, 1 Mar 2026 12:09:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=9E=84=E5=BB=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 ++-- sa-token-bom/pom.xml | 2 +- .../sa-token-demo-oauth2-client-h5/index.html | 2 +- .../custom_annotation/handler/CheckAccountHandler.java | 4 ++-- .../sa-token-spring-boot2-dependencies/pom.xml | 7 +++++++ sa-token-test/pom.xml | 9 ++++++++- 6 files changed, 21 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 7fef7524..9df09e1b 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.10.1 + 3.15.0 1.8 1.8 @@ -112,7 +112,7 @@ 3.12.0 - true + false false diff --git a/sa-token-bom/pom.xml b/sa-token-bom/pom.xml index 51c916fa..ae3b6750 100644 --- a/sa-token-bom/pom.xml +++ b/sa-token-bom/pom.xml @@ -277,7 +277,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.10.1 + 3.15.0 1.8 1.8 diff --git a/sa-token-demo/sa-token-demo-oauth2/sa-token-demo-oauth2-client-h5/index.html b/sa-token-demo/sa-token-demo-oauth2/sa-token-demo-oauth2-client-h5/index.html index 6e5643a4..e21fa328 100644 --- a/sa-token-demo/sa-token-demo-oauth2/sa-token-demo-oauth2-client-h5/index.html +++ b/sa-token-demo/sa-token-demo-oauth2/sa-token-demo-oauth2-client-h5/index.html @@ -156,7 +156,7 @@
- + diff --git a/sa-token-demo/sa-token-demo-solon/src/main/java/com/pj/satoken/custom_annotation/handler/CheckAccountHandler.java b/sa-token-demo/sa-token-demo-solon/src/main/java/com/pj/satoken/custom_annotation/handler/CheckAccountHandler.java index e7c608f2..9a086c12 100644 --- a/sa-token-demo/sa-token-demo-solon/src/main/java/com/pj/satoken/custom_annotation/handler/CheckAccountHandler.java +++ b/sa-token-demo/sa-token-demo-solon/src/main/java/com/pj/satoken/custom_annotation/handler/CheckAccountHandler.java @@ -6,7 +6,7 @@ import cn.dev33.satoken.exception.SaTokenException; import com.pj.satoken.custom_annotation.CheckAccount; import org.noear.solon.annotation.Component; -import java.lang.reflect.Method; +import java.lang.reflect.AnnotatedElement; /** * 注解 CheckAccount 的处理器 @@ -25,7 +25,7 @@ public class CheckAccountHandler implements SaAnnotationHandlerInterface${springboot2.version} + + + org.springframework.boot + spring-boot-starter-test + ${springboot2.version} + + diff --git a/sa-token-test/pom.xml b/sa-token-test/pom.xml index f8b8b626..c8471e3f 100644 --- a/sa-token-test/pom.xml +++ b/sa-token-test/pom.xml @@ -52,11 +52,18 @@ cn.dev33 sa-token-spring-boot2-dependencies - ${project.version} + ${revision} pom import + + + org.springframework.boot + spring-boot-starter-test + 2.7.18 + +