|
@ -66,7 +66,7 @@ public class WebMvcConfig implements WebMvcConfigurer { |
|
|
|
|
|
|
|
|
//日期格式转换
|
|
|
//日期格式转换
|
|
|
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); |
|
|
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); |
|
|
mapper.setDateFormat(new SimpleDateFormat(DateUtils.DATE_TIME_PATTERN_END_WITH_MINUTE)); |
|
|
mapper.setDateFormat(new SimpleDateFormat(DateUtils.DATE_TIME_PATTERN)); |
|
|
mapper.setTimeZone(TimeZone.getTimeZone("GMT+8")); |
|
|
mapper.setTimeZone(TimeZone.getTimeZone("GMT+8")); |
|
|
|
|
|
|
|
|
//Long类型转String类型
|
|
|
//Long类型转String类型
|
|
|