From 11c8773c40641625aca247fde6d13fe1998934fd Mon Sep 17 00:00:00 2001 From: zlt2000 Date: Thu, 22 Feb 2024 22:46:31 +0800 Subject: [PATCH] fix #I91CN3 --- .../src/main/java/com/central/common/utils/ResponseUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zlt-commons/zlt-common-core/src/main/java/com/central/common/utils/ResponseUtil.java b/zlt-commons/zlt-common-core/src/main/java/com/central/common/utils/ResponseUtil.java index 9a4ab54d..be1cb350 100644 --- a/zlt-commons/zlt-common-core/src/main/java/com/central/common/utils/ResponseUtil.java +++ b/zlt-commons/zlt-common-core/src/main/java/com/central/common/utils/ResponseUtil.java @@ -54,7 +54,7 @@ public class ResponseUtil { } private static void responseWrite(ObjectMapper objectMapper, HttpServletResponse response, Result result) throws IOException { - response.setContentType(MediaType.APPLICATION_JSON_VALUE); + response.setContentType(MediaType.APPLICATION_JSON_UTF8_VALUE); try ( Writer writer = response.getWriter() ) {