datatype
日期格式转换异常:Java 8 date/time type `java.time.LocalDateTime` not supported by default: add Module \"com.fasterxml.jackson.datatype:jackson-datatype-jsr310
异常信息: "unexpected error: Type definition error: [simple type, class java.time.LocalDateTime]; nested exception is com.fasterxml.jackson.databind.exc.I ......
Ajax传参,data与dataType
在使用Ajax向后端传递数据时,你可以使用多种数据类型。在Ajax的dataType参数中,你可以指定以下几种常用的数据类型: "text": 这是默认值,表示返回的数据将被视为纯文本字符串。 "json": 表示返回的数据将被视为JSON格式的数据。在前端代码中,你可以使用JSON.parse() ......