Commit b18fafa1 authored by fangxinjiang's avatar fangxinjiang

鉴权-fxj

parent 359c90d6
......@@ -167,8 +167,7 @@ public class YifuClientLoginSuccessHandler implements AuthenticationSuccessHandl
response.setContentType(CommonConstants.CONTENT_TYPE);
response.setStatus(HttpStatus.HTTP_OK);
PrintWriter printWriter = response.getWriter();
printWriter.print(objectMapper.writeValueAsString(result));
log.info("登录成功返回结果:"+objectMapper.writeValueAsString(result));
printWriter.append(objectMapper.writeValueAsString(result));
}
}
......@@ -124,6 +124,7 @@ public class YifuWxLoginSuccessHandler implements AuthenticationSuccessHandler {
response.setContentType(CommonConstants.CONTENT_TYPE);
PrintWriter printWriter = response.getWriter();
printWriter.append(objectMapper.writeValueAsString(result));
log.info("登录成功返回结果1111111:"+objectMapper.writeValueAsString(result));
}
}
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