摘要: 1、入参格式化 使用 Spring 的 @DateTimeFormat 注解格式化参数 @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 2、出参格式化 @JsonFormat 注解 @JsonFormat(timezone = "GMT+8", pa 阅读全文
posted @ 2019-05-22 17:15 介寒食 阅读(1437) 评论(0) 推荐(0)