移除 web.json.defaultDateFormat 参数,使用 DateUtils 解析,以支持更多的格式
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user