public class RespBodyVo extends Object implements Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
RespBodyVo |
code(Integer code) |
RespBodyVo |
data(Object data) |
static RespBodyVo |
fail() |
static RespBodyVo |
fail(String msg) |
Integer |
getCode() |
Object |
getData() |
String |
getMsg() |
boolean |
isOk() |
RespBodyVo |
msg(String msg) |
static RespBodyVo |
ok() |
static RespBodyVo |
ok(Object data) |
void |
setCode(Integer code) |
void |
setData(Object data) |
void |
setMsg(String msg) |
public static RespBodyVo fail()
public static RespBodyVo fail(String msg)
public static RespBodyVo ok()
public static RespBodyVo ok(Object data)
public RespBodyVo code(Integer code)
public RespBodyVo data(Object data)
public Integer getCode()
public Object getData()
public String getMsg()
public boolean isOk()
public RespBodyVo msg(String msg)
public void setCode(Integer code)
public void setData(Object data)
public void setMsg(String msg)
Copyright © 2024. All rights reserved.