mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-09-20 02:29:27 +08:00
修复 sa-token-spring-boot3-starter 模块代码警告
This commit is contained in:
@@ -136,6 +136,7 @@ public class SaServletFilter implements SaFilter, Filter {
|
|||||||
});
|
});
|
||||||
|
|
||||||
} catch (StopMatchException e) {
|
} catch (StopMatchException e) {
|
||||||
|
// StopMatchException 异常代表:停止匹配,进入Controller
|
||||||
|
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
// 1. 获取异常处理策略结果
|
// 1. 获取异常处理策略结果
|
||||||
|
@@ -88,6 +88,7 @@ public class SaInterceptor implements HandlerInterceptor {
|
|||||||
* 每次请求之前触发的方法
|
* 每次请求之前触发的方法
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@SuppressWarnings("all")
|
||||||
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
|
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
|
||||||
|
@@ -1,6 +1,3 @@
|
|||||||
/**
|
|
||||||
* sa-token集成SpringBoot的各个组件
|
|
||||||
*/
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2020-2099 sa-token.cc
|
* Copyright 2020-2099 sa-token.cc
|
||||||
*
|
*
|
||||||
@@ -16,4 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* Sa-Token 集成 SpringBoot3 的各个组件
|
||||||
|
*/
|
||||||
package cn.dev33.satoken;
|
package cn.dev33.satoken;
|
Reference in New Issue
Block a user