Commit efb7c317 authored by 黎博's avatar 黎博

将/ex/isInWhiteList加到拦截器配置

parent bfcf7496
......@@ -32,7 +32,7 @@ public class InterceptorConfig implements WebMvcConfigurer {
@Override
public void addInterceptors(InterceptorRegistry registry) {
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/**");
}
}
......@@ -7,6 +7,10 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* 拦截器公共方法
* @author libo
*/
public class InterceptorUtils {
/**
......
......@@ -160,6 +160,10 @@ public class RuleEngineInterceptor implements HandlerInterceptor {
// vcc账户解冻审核
if (sceneId.equals("9")) {
}
// 10-业务挡板审核(同步)
if (sceneId.equals("10")) {
bodyMap.put("auditResult", true);
}
// vcc账单分期审核, sceneId=11
if (bizType.equals("8") && sceneId.equals("11")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment