Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
holmes
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
QA
holmes
Commits
efb7c317
Commit
efb7c317
authored
Aug 12, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将/ex/isInWhiteList加到拦截器配置
parent
bfcf7496
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
InterceptorConfig.java
src/main/java/cn/qg/holmes/config/InterceptorConfig.java
+1
-1
InterceptorUtils.java
src/main/java/cn/qg/holmes/interceptor/InterceptorUtils.java
+4
-0
RuleEngineInterceptor.java
.../java/cn/qg/holmes/interceptor/RuleEngineInterceptor.java
+4
-0
No files found.
src/main/java/cn/qg/holmes/config/InterceptorConfig.java
View file @
efb7c317
...
@@ -32,7 +32,7 @@ public class InterceptorConfig implements WebMvcConfigurer {
...
@@ -32,7 +32,7 @@ public class InterceptorConfig implements WebMvcConfigurer {
@Override
@Override
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
registry
.
addInterceptor
(
yeebaoInterceptor
()).
addPathPatterns
(
"/tzt-api/**"
,
"/balance-board/**"
);
registry
.
addInterceptor
(
yeebaoInterceptor
()).
addPathPatterns
(
"/tzt-api/**"
,
"/balance-board/**"
);
registry
.
addInterceptor
(
ruleEngineInterceptor
()).
addPathPatterns
(
"/rule_engine/**"
);
registry
.
addInterceptor
(
ruleEngineInterceptor
()).
addPathPatterns
(
"/rule_engine/**
, /ex/isInWhiteList
"
);
registry
.
addInterceptor
(
xinchengInterceptor
()).
addPathPatterns
(
"/webservice/api/lhp/**"
);
registry
.
addInterceptor
(
xinchengInterceptor
()).
addPathPatterns
(
"/webservice/api/lhp/**"
);
}
}
}
}
src/main/java/cn/qg/holmes/interceptor/InterceptorUtils.java
View file @
efb7c317
...
@@ -7,6 +7,10 @@ import java.util.HashMap;
...
@@ -7,6 +7,10 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
/**
* 拦截器公共方法
* @author libo
*/
public
class
InterceptorUtils
{
public
class
InterceptorUtils
{
/**
/**
...
...
src/main/java/cn/qg/holmes/interceptor/RuleEngineInterceptor.java
View file @
efb7c317
...
@@ -160,6 +160,10 @@ public class RuleEngineInterceptor implements HandlerInterceptor {
...
@@ -160,6 +160,10 @@ public class RuleEngineInterceptor implements HandlerInterceptor {
// vcc账户解冻审核
// vcc账户解冻审核
if
(
sceneId
.
equals
(
"9"
))
{
if
(
sceneId
.
equals
(
"9"
))
{
}
// 10-业务挡板审核(同步)
if
(
sceneId
.
equals
(
"10"
))
{
bodyMap
.
put
(
"auditResult"
,
true
);
}
}
// vcc账单分期审核, sceneId=11
// vcc账单分期审核, sceneId=11
if
(
bizType
.
equals
(
"8"
)
&&
sceneId
.
equals
(
"11"
))
{
if
(
bizType
.
equals
(
"8"
)
&&
sceneId
.
equals
(
"11"
))
{
...
...
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