mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-21 19:17:25 +08:00
新增Reactor响应式编程支持,WebFlux集成!
This commit is contained in:
@@ -10,6 +10,7 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
import cn.dev33.satoken.stp.StpLogic;
|
||||
import cn.dev33.satoken.stp.StpUtil;
|
||||
import cn.dev33.satoken.util.SaTokenConsts;
|
||||
|
||||
/**
|
||||
* sa-token 基于 Spring Aop 的注解鉴权
|
||||
@@ -18,14 +19,9 @@ import cn.dev33.satoken.stp.StpUtil;
|
||||
*/
|
||||
@Aspect
|
||||
@Component
|
||||
@Order(SaCheckAspect.aspectOrder)
|
||||
@Order(SaTokenConsts.ASSEMBLY_ORDER)
|
||||
public class SaCheckAspect {
|
||||
|
||||
/**
|
||||
* 切面执行顺序
|
||||
*/
|
||||
public static final int aspectOrder = -100;
|
||||
|
||||
/**
|
||||
* 构建
|
||||
*/
|
||||
|
Reference in New Issue
Block a user