docs: 修复接口文档中 LocalDateTime 类型数据的示例信息不显示的问题

This commit is contained in:
2023-08-29 19:43:48 +08:00
parent 2b316d1685
commit 332bd6cd2a
12 changed files with 17 additions and 17 deletions

View File

@@ -135,7 +135,7 @@ public class FieldConfigDO implements Serializable {
/**
* 创建时间
*/
@Schema(description = "创建时间", example = "2023-08-08 08:08:08")
@Schema(description = "创建时间", example = "2023-08-08 08:08:08", type = "string")
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createTime;

View File

@@ -118,14 +118,14 @@ public class GenConfigDO implements Serializable {
/**
* 创建时间
*/
@Schema(description = "创建时间", example = "2023-08-08 08:08:08")
@Schema(description = "创建时间", example = "2023-08-08 08:08:08", type = "string")
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createTime;
/**
* 修改时间
*/
@Schema(description = "修改时间", example = "2023-08-08 08:08:08")
@Schema(description = "修改时间", example = "2023-08-08 08:08:08", type = "string")
@TableField(fill = FieldFill.UPDATE)
private LocalDateTime updateTime;

View File

@@ -62,7 +62,7 @@ public class TableVO implements Serializable {
/**
* 创建时间
*/
@Schema(description = "创建时间", example = "2023-08-08 08:08:08")
@Schema(description = "创建时间", example = "2023-08-08 08:08:08", type = "string")
private LocalDateTime createTime;
/**