更新版本号 设置切面执行顺序
This commit is contained in:
parent
772331bc15
commit
989e4f131a
@ -10,7 +10,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<groupId>cn.axzo.framework</groupId>
|
<groupId>cn.axzo.framework</groupId>
|
||||||
<artifactId>axzo-auth-spring-boot-starter</artifactId>
|
<artifactId>axzo-auth-spring-boot-starter</artifactId>
|
||||||
<version>1.1.0</version>
|
<version>1.1.1</version>
|
||||||
<name>axzo-auth-spring-boot-starter</name>
|
<name>axzo-auth-spring-boot-starter</name>
|
||||||
<description>axzo-auth-spring-boot-starter</description>
|
<description>axzo-auth-spring-boot-starter</description>
|
||||||
|
|
||||||
|
|||||||
@ -22,6 +22,7 @@ import org.aspectj.lang.ProceedingJoinPoint;
|
|||||||
import org.aspectj.lang.annotation.Around;
|
import org.aspectj.lang.annotation.Around;
|
||||||
import org.aspectj.lang.annotation.Aspect;
|
import org.aspectj.lang.annotation.Aspect;
|
||||||
import org.aspectj.lang.reflect.MethodSignature;
|
import org.aspectj.lang.reflect.MethodSignature;
|
||||||
|
import org.springframework.core.annotation.Order;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import org.springframework.web.context.request.RequestContextHolder;
|
import org.springframework.web.context.request.RequestContextHolder;
|
||||||
import org.springframework.web.context.request.ServletRequestAttributes;
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
||||||
@ -35,6 +36,7 @@ import java.util.Objects;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@Aspect
|
@Aspect
|
||||||
@Component
|
@Component
|
||||||
|
@Order(1)
|
||||||
public class BuilderUserInfoAspect {
|
public class BuilderUserInfoAspect {
|
||||||
|
|
||||||
@Around(value = "@within(preBuildUser)")
|
@Around(value = "@within(preBuildUser)")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user