mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-08-25 01:14:23 +08:00
SaTokenFilter 增加 getIncludeList,getExcludeList 方法(SaTokenInterceptor 有,所以也加下)
This commit is contained in:
parent
075e22650b
commit
636b1bc874
@ -86,6 +86,23 @@ public class SaTokenFilter implements SaFilter, Filter { //之所以改名,为
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取 [拦截路由] 集合
|
||||||
|
*
|
||||||
|
* @return see note
|
||||||
|
*/
|
||||||
|
public List<String> getIncludeList() {
|
||||||
|
return includeList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取 [放行路由] 集合
|
||||||
|
*
|
||||||
|
* @return see note
|
||||||
|
*/
|
||||||
|
public List<String> getExcludeList() {
|
||||||
|
return excludeList;
|
||||||
|
}
|
||||||
|
|
||||||
// ------------------------ 钩子函数
|
// ------------------------ 钩子函数
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user