前端传后端因为时间类型报400

//返回前端注解         
@JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
//前端传给后端注解
        @DateTimeFormat(pattern = "yyyy-MM-dd")

猜你喜欢

转载自blog.csdn.net/qq_29072049/article/details/87856844