Commit 31c7b6c5 authored by xiaozhe.chen's avatar xiaozhe.chen

调试接口

parent 3c507b26
...@@ -30,7 +30,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -30,7 +30,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Override @Override
protected void configure(HttpSecurity http) throws Exception { protected void configure(HttpSecurity http) throws Exception {
//String allowedRoutes = "/test/**,/error/**,/user/**"; //String allowedRoutes = "/test/**,/error/**,/user/**,/repay/**";
String allowedRoutes = "/test/**,/error/**"; String allowedRoutes = "/test/**,/error/**";
String[] allowedRoutesArr = allowedRoutes.split(","); String[] allowedRoutesArr = allowedRoutes.split(",");
http http
......
...@@ -113,9 +113,7 @@ public class UserServiceImpl implements IUserService { ...@@ -113,9 +113,7 @@ public class UserServiceImpl implements IUserService {
try { try {
Map<String, Object> param = Maps.newHashMap(); Map<String, Object> param = Maps.newHashMap();
param.put("idNo", idNo); param.put("idNo", idNo);
Map<String, String> header = Maps.newHashMap(); String result = httpService.post(url, param);
header.put("Content-type", "application/json");
String result = httpService.post(url, header, param);
log.info("[user][query uuid by idNo ] 请求业务系统返回值:{}", result); log.info("[user][query uuid by idNo ] 请求业务系统返回值:{}", result);
JsonResult jsonResult = GSON.fromJson(result, JsonResult.class); JsonResult jsonResult = GSON.fromJson(result, JsonResult.class);
Object uuid = jsonResult.getData(); Object uuid = jsonResult.getData();
......
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