Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
baihang-report
Commits
c2e10e67
Commit
c2e10e67
authored
Oct 31, 2019
by
data爬虫-冯 军凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全县拦截路径修改
parent
428d6668
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
WebMvcConfigure.java
...java/cn/quantgroup/report/config/web/WebMvcConfigure.java
+3
-2
CheckController.java
...uantgroup/report/controller/internal/CheckController.java
+1
-1
No files found.
src/main/java/cn/quantgroup/report/config/web/WebMvcConfigure.java
View file @
c2e10e67
...
@@ -17,8 +17,9 @@ public class WebMvcConfigure extends WebMvcConfigurerAdapter {
...
@@ -17,8 +17,9 @@ public class WebMvcConfigure extends WebMvcConfigurerAdapter {
@Override
@Override
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
registry
.
addInterceptor
(
new
AuthHandlerInterceptorAdapter
(
isDebug
))
registry
.
addInterceptor
(
new
AuthHandlerInterceptorAdapter
(
isDebug
))
.
addPathPatterns
(
"/**"
)
.
addPathPatterns
(
"/ex/**"
)
.
excludePathPatterns
(
"/"
);
.
addPathPatterns
(
"/manualtool/**"
)
.
addPathPatterns
(
"/cache/**"
);
}
}
}
}
src/main/java/cn/quantgroup/report/controller/CheckController.java
→
src/main/java/cn/quantgroup/report/controller/
internal/
CheckController.java
View file @
c2e10e67
package
cn
.
quantgroup
.
report
.
controller
;
package
cn
.
quantgroup
.
report
.
controller
.
internal
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.google.common.collect.ImmutableMap
;
import
com.google.common.collect.ImmutableMap
;
...
...
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