From 35c8a9c2babfd373313892af16a031d4c1c21689 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Tue, 10 Feb 2026 13:44:30 +0800
Subject: [PATCH] 1. 修改校验航线任务是否可以创建航线接口。 2. 增加返回实体类。
---
ard-framework/src/main/java/com/ard/framework/security/filter/JwtAuthenticationTokenFilter.java | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ard-framework/src/main/java/com/ard/framework/security/filter/JwtAuthenticationTokenFilter.java b/ard-framework/src/main/java/com/ard/framework/security/filter/JwtAuthenticationTokenFilter.java
index 722c5af..9325d0c 100644
--- a/ard-framework/src/main/java/com/ard/framework/security/filter/JwtAuthenticationTokenFilter.java
+++ b/ard-framework/src/main/java/com/ard/framework/security/filter/JwtAuthenticationTokenFilter.java
@@ -19,7 +19,7 @@
/**
* token过滤器 验证token有效性
*
- * @author ruoyi
+ * @author ard
*/
@Component
public class JwtAuthenticationTokenFilter extends OncePerRequestFilter
@@ -31,6 +31,14 @@
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
throws ServletException, IOException
{
+ // 2026-02-04 zwy 跳过对/minioTransfer/**路径的 Token 解析
+ String requestURI = request.getRequestURI();
+ // 代理接口直接放行,不解析JWT
+ if (requestURI.startsWith("/minioTransfer")) {
+ chain.doFilter(request, response);
+ return;
+ }
+
LoginUser loginUser = tokenService.getLoginUser(request);
if (StringUtils.isNotNull(loginUser) && StringUtils.isNull(SecurityUtils.getAuthentication()))
{
--
Gitblit v1.9.3