Skip to content
Permalink
Browse files

feat: 0621 udpates

  • Loading branch information...
alterhu2020 committed Jun 21, 2019
1 parent 5af4b14 commit e0224e09ffdd4e4a85ca0ed1a910bd27dd225a0a
Showing with 1 addition and 0 deletions.
  1. +1 −0 docs/blog/2019/06-21-what.md
@@ -17,6 +17,7 @@ title: 6月21日整理
MediaType.APPLICATION_JSON,
MediaType.APPLICATION_JSON_UTF8,
// 支持所有的返回JSON数据,数据类型可以反序列化: Content-Type: text/javascript;charset=utf-8
// 不再使用,因为可能会引起其他的意外问题,反序列化最好转为String.class,不要使用Map.class 或者List.class
MediaType.ALL
));
jackson2HttpMessageConverter.setObjectMapper(JacksonUtils.getObjectMapper());

0 comments on commit e0224e0

Please sign in to comment.
You can’t perform that action at this time.