fix(): 增加示例描述

master
xinzirun 2024-08-04 16:18:14 +08:00
parent 81d164f1ee
commit ceb93c53f8
1 changed files with 2 additions and 2 deletions

View File

@ -40,10 +40,10 @@ public class Result<T> implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Schema(name = "code", description = "整体返回响应状态码200表示成功其余表示请求有异常详情请见每个接口") @Schema(defaultValue = "200", type = "Integer", description = "整体返回响应状态码200表示成功其余表示请求有异常详情请见每个接口")
private int code; private int code;
@Schema(description = "返回状态码的描述") @Schema(description = "返回状态码的描述", defaultValue = "操作成功", type = "String")
private String msg; private String msg;
@Schema(description = "返回数据") @Schema(description = "返回数据")