mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-05-03 20:27:54 +08:00
修改订阅 Bean 的方式
This commit is contained in:
parent
b5691141ce
commit
27dbb4842e
@ -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);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user