springboot 前端传递date类型格式化问题

@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")

给参数类中对应的字段上面添加以上注解

猜你喜欢

转载自blog.csdn.net/qq_40279887/article/details/83150641