修改订阅 Bean 的方式

This commit is contained in:
click33 2022-11-03 14:23:37 +08:00
parent b5691141ce
commit 27dbb4842e

View File

@ -34,7 +34,7 @@ public class XPluginImp implements Plugin {
@Override
public void start(AopContext context) {
// Sa-Token 日志输出 Bean
context.subBeansOfType(SaLog.class, bean -> {
context.getBeanAsyn(SaLog.class, bean -> {
SaManager.setLog(bean);
});