mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
文档修复
This commit is contained in:
parent
f9113ddce5
commit
7db36d5a97
@ -151,7 +151,7 @@ public class SaTokenConfigure {
|
|||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void rewriteSaStrategy() {
|
public void rewriteSaStrategy() {
|
||||||
// 重写Sa-Token的注解处理器,增加注解合并功能
|
// 重写Sa-Token的注解处理器,增加注解合并功能
|
||||||
SaStrategy.instance.getAnnotation = (element, annotationClass) -> {
|
SaAnnotationStrategy.instance.getAnnotation = (element, annotationClass) -> {
|
||||||
return AnnotatedElementUtils.getMergedAnnotation(element, annotationClass);
|
return AnnotatedElementUtils.getMergedAnnotation(element, annotationClass);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user