1
0
mirror of synced 2026-05-22 22:53:16 +00:00

修改订阅 Bean 的方式

This commit is contained in:
click33
2022-11-03 14:15:41 +08:00
parent 0869d322db
commit b5691141ce
@@ -34,7 +34,7 @@ public class XPluginImp implements Plugin {
@Override
public void start(AopContext context) {
// Sa-Token 日志输出 Bean
context.getBeanAsyn(SaLog.class, bean -> {
context.subBeansOfType(SaLog.class, bean -> {
SaManager.setLog(bean);
});