From 5d2e6ca50091f405dfda9e287b367dd295dc6cf8 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Mon, 09 Feb 2026 17:39:17 +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