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

调试接口

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