fix():返回状态
parent
1d0b928bee
commit
fed1249f57
|
@ -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 = "返回数据")
|
||||
|
|
Loading…
Reference in New Issue