fix():返回状态

master
Cui YongXing 2024-07-31 21:08:06 +08:00
parent 1d0b928bee
commit fed1249f57
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(description = "返回状态码200表示成功 其余表示异常 详细请查看每个接口")
@Schema(defaultValue = "200",type = "Integer",description = "返回状态码200表示成功 其余表示异常 详细请查看每个接口")
private int code;
@Schema(description = "返回状态码的描述")
@Schema(defaultValue = "操作成功",type = "String",description = "返回状态码的描述")
private String msg;
@Schema(description = "返回数据")