|
|
@ -326,6 +326,7 @@ public class JacksonJsonSupport implements JsonSupport { |
|
|
|
objectMapper.configure(SerializationFeature.WRITE_BIGDECIMAL_AS_PLAIN, true); |
|
|
|
objectMapper.configure(SerializationFeature.WRITE_BIGDECIMAL_AS_PLAIN, true); |
|
|
|
objectMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); |
|
|
|
objectMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//时区设置,防止含有Data类型变量时序列化后,前台显示的data内时间不准确
|
|
|
|
objectMapper.setTimeZone(TimeZone.getDefault()); |
|
|
|
objectMapper.setTimeZone(TimeZone.getDefault()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|