feat():增加示例描述
parent
90ca7ac380
commit
7a4650b512
|
@ -37,10 +37,10 @@ public class Result<T> implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "code",description = "整体返回响应状态码200表示成功,其余表示请求异常,详情请见每个接口")
|
||||
@Schema(name = "code",defaultValue = "200",type = "Integer",description = "整体返回响应状态码200表示成功,其余表示请求异常,详情请见每个接口")
|
||||
private int code;
|
||||
|
||||
@Schema(description = "返回状态码的描述")
|
||||
@Schema(description = "返回状态码的描述",defaultValue = "操作成功",type = "String")
|
||||
private String msg;
|
||||
|
||||
@Schema(description = "返回数据")
|
||||
|
|
Loading…
Reference in New Issue