Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-cloud-core
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-cloud-core
Commits
1149e4b7
Commit
1149e4b7
authored
Mar 09, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
03b738f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
yd-gateway/src/main/java/com/yd/gateway/config/GatewayJwtAuthFilterConfig.java
+1
-0
No files found.
yd-gateway/src/main/java/com/yd/gateway/config/GatewayJwtAuthFilterConfig.java
View file @
1149e4b7
...
...
@@ -99,6 +99,7 @@ public class GatewayJwtAuthFilterConfig {
private
boolean
isWhitelist
(
String
path
)
{
// 白名单路径:与SecurityWebFilterChain中的配置保持一致
return
path
.
startsWith
(
"/auth/"
)
||
path
.
startsWith
(
"/ossFile/list"
)
||
path
.
startsWith
(
"/swagger-ui/"
)
||
path
.
startsWith
(
"/v3/api-docs/"
)
||
isKnife4jWhitelist
(
path
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment