fix():增加实例描述

master
lwj 2024-08-01 11:37:24 +08:00
parent 0f4bfa3f84
commit 2e35ab1aa2
1 changed files with 2 additions and 2 deletions

View File

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