This commit is contained in:
shuzheng 2016-11-08 18:09:46 +08:00
parent 643008315d
commit 11c094e938
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<context:component-scan base-package="**.*controller" />
<context:annotation-config />
<!-- 支持controller返回json -->
<!-- 返回ResponseBody响应类型 -->
<mvc:annotation-driven>
<mvc:message-converters>
<bean class="org.springframework.http.converter.StringHttpMessageConverter">