update 增加 jackson 配置 默认序列化时间格式

This commit is contained in:
疯狂的狮子li
2021-06-12 23:41:56 +08:00
parent a044519b21
commit 5311937b69
11 changed files with 28 additions and 45 deletions

View File

@ -86,6 +86,17 @@ spring:
thymeleaf:
# 将系统模板放置到最前面 否则会与 springboot-admin 页面冲突
template-resolver-order: 1
jackson:
# 日期格式化
date-format: yyyy-MM-dd HH:mm:ss
serialization:
# 格式化输出
indent_output: false
# 忽略无法转换的对象
fail_on_empty_beans: false
deserialization:
# 允许对象忽略json中不存在的属性
fail_on_unknown_properties: false
# token配置
token: