王佳豪
2021-07-15 b62bf9c72c202ce6d54cad9d5962fb7f78b17758
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" /> <!--先进行string转换-->
            <bean
                class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter">
                <property name="supportedMediaTypes">