Commit 284048fb26e60e26cf3d210b511f7be2a8bdf6c7
1 parent
1038e166
dip by type
Showing
1 changed file
with
1 additions
and
2 deletions
b2c-orders-web/src/main/resources/springmvc-config.xml
... | ... | @@ -8,8 +8,7 @@ |
8 | 8 | http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd |
9 | 9 | http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd |
10 | 10 | http://www.springframework.org/schema/aop |
11 | - http://www.springframework.org/schema/aop/spring-aop-4.3.xsd" | |
12 | - default-autowire="byName"> | |
11 | + http://www.springframework.org/schema/aop/spring-aop-4.3.xsd"> | |
13 | 12 | |
14 | 13 | <!--对于请求返回字符串时,默认StringHttpMessageConverter,且其默认编码为ISO-8859-1,不会通过上面的MappingJacksonJsonView,因此客服端看到的中文会是乱码 --> |
15 | 14 | <!--对于请求返回对象时,下面配置的MappingJacksonJsonView来处理,返回sjon串 --> | ... | ... |