Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李苗
/
Vion-DevOps
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5e31c73d
authored
Dec 02, 2023
by
zhuht
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg]字典,集团,用户查询接口添加到白名单里,不然非admin用户且无接口权限的用户无法登录系统,前端初始化时需要这3个接口的数据;
1 parent
07a49211
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/main/java/vion/interceptor/InterceptorConfig.java
src/main/java/vion/interceptor/InterceptorConfig.java
View file @
5e31c73
...
@@ -15,6 +15,7 @@ public class InterceptorConfig implements WebMvcConfigurer {
...
@@ -15,6 +15,7 @@ public class InterceptorConfig implements WebMvcConfigurer {
StpUtil
.
checkLogin
();
StpUtil
.
checkLogin
();
}))
}))
.
addPathPatterns
(
"/api/**"
)
.
addPathPatterns
(
"/api/**"
)
.
excludePathPatterns
(
"/api/dictionarys"
,
"/api/accounts"
,
"/api/users"
)
.
excludePathPatterns
(
"/api/upLoadFile"
,
"/api/ding/callback/**"
,
"/api/wechat/**"
,
"/error"
)
.
excludePathPatterns
(
"/api/upLoadFile"
,
"/api/ding/callback/**"
,
"/api/wechat/**"
,
"/error"
)
.
excludePathPatterns
(
"/api/order/sign/*"
)
.
excludePathPatterns
(
"/api/order/sign/*"
)
.
excludePathPatterns
(
"/api/taskTemp"
,
"/api/taskTemp/wechatCallback"
);
.
excludePathPatterns
(
"/api/taskTemp"
,
"/api/taskTemp/wechatCallback"
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment