Commit 359c90d6 authored by fangxinjiang's avatar fangxinjiang

鉴权-fxj

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