diff --git a/sa-token-demo/sa-token-demo-sso-server-solon/pom.xml b/sa-token-demo/sa-token-demo-sso-server-solon/pom.xml index 0c7c41d7..fda1c56e 100644 --- a/sa-token-demo/sa-token-demo-sso-server-solon/pom.xml +++ b/sa-token-demo/sa-token-demo-sso-server-solon/pom.xml @@ -6,17 +6,10 @@ sa-token-demo-sso-server-solon 0.0.1-SNAPSHOT - - - org.noear - solon-parent - 1.12.0 - - - 1.34.0 + 1.12.4 @@ -25,6 +18,7 @@ org.noear solon-web + ${solon.version} @@ -52,12 +46,14 @@ org.noear solon.view.thymeleaf + ${solon.version} org.noear forest-solon-plugin + ${solon.version} diff --git a/sa-token-demo/sa-token-demo-sso-server-solon/src/main/java/com/pj/sso/SsoConfig.java b/sa-token-demo/sa-token-demo-sso-server-solon/src/main/java/com/pj/sso/SsoConfig.java index 2e77fd2f..645885d8 100644 --- a/sa-token-demo/sa-token-demo-sso-server-solon/src/main/java/com/pj/sso/SsoConfig.java +++ b/sa-token-demo/sa-token-demo-sso-server-solon/src/main/java/com/pj/sso/SsoConfig.java @@ -16,13 +16,6 @@ import org.noear.solon.core.handle.ModelAndView; */ @Configuration public class SsoConfig { - /** - * 构建 SaSsoConfig bean - * */ - @Bean - public SaSsoConfig getSaSsoConfig(@Inject("${sa-token.sso}") SaSsoConfig ssoConfig) { - return ssoConfig; - } /** * 构建建 SaToken redis dao(如果不需要 redis;可以注释掉) @@ -34,7 +27,7 @@ public class SsoConfig { // 配置SSO相关参数 @Bean - public void configSso(SaSsoConfig sso) { + public void configSso(SaSsoConfig sso) { //SaSsoConfig 已自动构建 // 配置:未登录时返回的View sso.setNotLoginView(() -> { diff --git a/sa-token-dependencies/pom.xml b/sa-token-dependencies/pom.xml index 47955d76..63c7f8f2 100644 --- a/sa-token-dependencies/pom.xml +++ b/sa-token-dependencies/pom.xml @@ -23,7 +23,7 @@ 3.1.0 6.0.0 3.0.9.RELEASE - 1.12.2 + 1.12.4 1.4.5 3.2.50 4.9.17