public class RespVo extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
RespVo |
code(Integer code) |
RespVo |
data(Object data) |
static RespVo |
fail() |
static RespVo |
fail(String msg) |
Integer |
getCode() |
Object |
getData() |
String |
getMsg() |
boolean |
isOk() |
RespVo |
msg(String msg) |
static RespVo |
ok() |
static RespVo |
ok(Object data) |
void |
setCode(Integer code) |
void |
setData(Object data) |
void |
setMsg(String msg) |
public static RespVo fail()
public static RespVo ok()
public Integer getCode()
public Object getData()
public String getMsg()
public boolean isOk()
public void setCode(Integer code)
public void setData(Object data)
public void setMsg(String msg)
Copyright © 2021. All rights reserved.