fix():增加实例描述
parent
0a42d5d638
commit
c8cd72fa28
|
@ -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 = "整体返回相应状态码,其余表示请求有异常,详情请见每个接口")
|
||||
@Schema(defaultValue = "200",type = "Integer",description = "整体返回相应状态码,其余表示请求有异常,详情请见每个接口")
|
||||
private int code;
|
||||
|
||||
@Schema(description = "返回状态码的描述")
|
||||
@Schema(description = "返回状态码的描述",defaultValue = "操作成功",type = "String")
|
||||
private String msg;
|
||||
|
||||
@Schema(description = "返回数据")
|
||||
|
|
Loading…
Reference in New Issue