update Spring Boot to v2.2.9.RELEASE

This commit is contained in:
zlt2000
2020-07-25 22:49:05 +08:00
parent b8909e6dc9
commit 182e05cbd0
3 changed files with 4 additions and 3 deletions
@@ -54,7 +54,7 @@ public class ResponseUtil {
}
private static void responseWrite(ObjectMapper objectMapper, HttpServletResponse response, Result result) throws IOException {
response.setContentType(MediaType.APPLICATION_JSON_UTF8_VALUE);
response.setContentType(MediaType.APPLICATION_JSON_VALUE);
try (
Writer writer = response.getWriter()
) {