字符串时间转换

@DateTimeFormat(pattern = "yyyy-MM-dd") //入参
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") //出参

posted @ 2022-04-13 11:46  小傻孩丶儿  阅读(34)  评论(0编辑  收藏  举报