移除 web.json.defaultDateFormat 参数,使用 DateUtils 解析,以支持更多的格式

This commit is contained in:
thinkgem
2025-05-19 10:41:10 +08:00
parent 8f1dbaf3bd
commit 8f6fd6000f
2 changed files with 0 additions and 8 deletions

View File

@@ -722,10 +722,6 @@ web:
id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}' id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}'
user.loginCode: '[a-zA-Z0-9_\u4e00-\u9fa5]{4,20}' user.loginCode: '[a-zA-Z0-9_\u4e00-\u9fa5]{4,20}'
# 默认的日期格式JsonMapper
json:
defaultDateFormat: yyyy-MM-dd HH:mm:ss
# 默认不启用(为兼用旧版保留,建议使用 CORS # 默认不启用(为兼用旧版保留,建议使用 CORS
jsonp: jsonp:
enabled: false enabled: false

View File

@@ -857,10 +857,6 @@ web:
# id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}' # id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}'
# user.loginCode: '[a-zA-Z0-9_\u4e00-\u9fa5]{4,20}' # user.loginCode: '[a-zA-Z0-9_\u4e00-\u9fa5]{4,20}'
# #
# # 默认的日期格式JsonMapper
# json:
# defaultDateFormat: yyyy-MM-dd HH:mm:ss
#
# # 默认不启用(为兼用旧版保留,建议使用 CORS # # 默认不启用(为兼用旧版保留,建议使用 CORS
# jsonp: # jsonp:
# enabled: false # enabled: false