From b743b62c7d57c84d16422841b0b51e85fe53a891 Mon Sep 17 00:00:00 2001 From: 18516761980 <56479841@qq.com> Date: 星期五, 22 七月 2022 19:33:10 +0800 Subject: [PATCH] # --- src/main/resources/spring-mvc.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/resources/spring-mvc.xml b/src/main/resources/spring-mvc.xml index 94d1011..fd67579 100644 --- a/src/main/resources/spring-mvc.xml +++ b/src/main/resources/spring-mvc.xml @@ -16,6 +16,7 @@ <!-- <mvc:annotation-driven /> --> <mvc:annotation-driven> <mvc:message-converters> + <bean class="org.springframework.http.converter.StringHttpMessageConverter" /> <!--鍏堣繘琛宻tring杞崲--> <bean class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter"> <property name="supportedMediaTypes"> -- Gitblit v1.9.1