mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-12-02 03:47:50 +08:00
sa-token-solon-plugin: 升级 solon 为 1.12.0
This commit is contained in:
parent
37efe9a8d8
commit
422f7d2e4c
@ -21,7 +21,7 @@
|
||||
<jackson-datatype-jsr310.version>2.11.2</jackson-datatype-jsr310.version>
|
||||
<servlet-api.version>3.1.0</servlet-api.version>
|
||||
<thymeleaf.version>3.0.9.RELEASE</thymeleaf.version>
|
||||
<solon.version>1.11.3</solon.version>
|
||||
<solon.version>1.12.0</solon.version>
|
||||
<noear-redisx.version>1.4.4</noear-redisx.version>
|
||||
<jfinal.version>4.9.17</jfinal.version>
|
||||
<jboot.version>3.14.4</jboot.version>
|
||||
|
@ -69,7 +69,7 @@ public class XPluginImp implements Plugin {
|
||||
SaManager.setSaTokenSecondContext(bean.create());
|
||||
});
|
||||
|
||||
// 注入侦听器 Bean
|
||||
// 注入侦听器 Bean (可以有多个)
|
||||
context.subBeansOfType(SaTokenListener.class, sl -> {
|
||||
SaTokenEventCenter.registerListener(sl);
|
||||
});
|
||||
@ -115,8 +115,8 @@ public class XPluginImp implements Plugin {
|
||||
SaManager.setSaSignTemplate(bean);
|
||||
});
|
||||
|
||||
// 自定义 StpLogic 对象
|
||||
context.getBeanAsync(StpLogic.class, bean -> {
|
||||
// 自定义 StpLogic 对象(可以有多个)
|
||||
context.subBeansOfType(StpLogic.class, bean -> {
|
||||
StpUtil.setStpLogic(bean);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user