publish 2.0.0.rc6

This commit is contained in:
曾文豪
2024-07-11 16:03:07 +08:00
parent 59926aa2f4
commit e709050ba3
72 changed files with 33 additions and 32 deletions

View File

@@ -60,6 +60,11 @@ public class TokenWebMvcConfigurer implements WebMvcConfigurer {
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
// 非接口类直接跳过
if (!(handler instanceof HandlerMethod)) {
return true;
}
String requestURI = request.getRequestURI();
String[] ignorePaths = tsTokenConfig.getIgnorePaths();
if (ObjUtil.isNotEmpty(ignorePaths)) {