From b097f7539a7429a85cdda7959c9ecb83a37a2918 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: Thu, 11 Jun 2026 14:49:28 +0800
Subject: [PATCH] 架次关联航线
---
ard-framework/src/main/java/com/ard/framework/security/filter/JwtAuthenticationTokenFilter.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 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 695d197..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
@@ -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