Commit d07cf5c2 by 翁国栋

8小时后台--

回调方法被拦截
parent d4ee79ac
...@@ -35,9 +35,11 @@ public class WebSecurityConfig implements WebMvcConfigurer { ...@@ -35,9 +35,11 @@ public class WebSecurityConfig implements WebMvcConfigurer {
//.excludePathPatterns("/") //.excludePathPatterns("/")
registry.addInterceptor(getSessionInterceptor()) registry.addInterceptor(getSessionInterceptor())
.addPathPatterns("/**") .addPathPatterns("/**")
.excludePathPatterns("/callback/**") .excludePathPatterns("/callBack/policy/**")
.excludePathPatterns("/callBack/policy/CallBack") .excludePathPatterns("/callBack/policy/CallBack")
.excludePathPatterns("/callBack/policy/insuredCallBack") .excludePathPatterns("/callBack/policy/payStatus")
.excludePathPatterns("/callBack/policy/payCallBack")
.excludePathPatterns("/callBack/policy/issueCallback")
.excludePathPatterns("/superLogin/**") .excludePathPatterns("/superLogin/**")
.excludePathPatterns("/actuator/*") .excludePathPatterns("/actuator/*")
.excludePathPatterns("/doc*") .excludePathPatterns("/doc*")
......
...@@ -557,7 +557,7 @@ public class InsureContorll { ...@@ -557,7 +557,7 @@ public class InsureContorll {
insurePolicy.setStatus("4");/*支付中状态*/ insurePolicy.setStatus("4");/*支付中状态*/
insurePolicy.updateById(); insurePolicy.updateById();
Map returnMap = Maps.newHashMap(); Map returnMap = Maps.newHashMap();
returnMap.put("url",importPayInfo.get("pay_url").toString()+"&jump_url"+base_api_url +"/callBack/policy/payStatus?policyId="+insurePolicy.getId()); returnMap.put("url",importPayInfo.get("pay_url").toString()+"&jump_url="+base_api_url +"/callBack/policy/payStatus?policyId="+insurePolicy.getId());
returnMap.put("payId",insurePay.getId()); returnMap.put("payId",insurePay.getId());
return ResultUtil.data(returnMap); return ResultUtil.data(returnMap);
}else { }else {
......
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