SaTokenFilter 增加 getIncludeList,getExcludeList 方法(SaTokenInterceptor 有,所以也加下)

This commit is contained in:
noear 2024-03-03 11:37:08 +08:00
parent 075e22650b
commit 636b1bc874

View File

@ -86,6 +86,23 @@ public class SaTokenFilter implements SaFilter, Filter { //之所以改名,为
return this;
}
/**
* 获取 [拦截路由] 集合
*
* @return see note
*/
public List<String> getIncludeList() {
return includeList;
}
/**
* 获取 [放行路由] 集合
*
* @return see note
*/
public List<String> getExcludeList() {
return excludeList;
}
// ------------------------ 钩子函数