public class ResponseResult extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static ResponseResult |
build(Integer status,
String msg,
Object data) |
static ResponseResult |
build(Integer status,
String msg,
Object data,
String ok) |
static ResponseResult |
errorException(String msg) |
static ResponseResult |
errorMap(Object data) |
static ResponseResult |
errorMsg(String msg) |
static ResponseResult |
errorTokenMsg(String msg) |
Object |
getData() |
String |
getMsg() |
String |
getOk() |
Integer |
getStatus() |
static ResponseResult |
ok() |
static ResponseResult |
ok(Object data) |
static ResponseResult |
ok(String msg,
Object data) |
public static ResponseResult build(Integer status, String msg, Object data)
public static ResponseResult build(Integer status, String msg, Object data, String ok)
public static ResponseResult ok(Object data)
public static ResponseResult ok(String msg, Object data)
public static ResponseResult ok()
public static ResponseResult errorMsg(String msg)
public static ResponseResult errorMap(Object data)
public static ResponseResult errorTokenMsg(String msg)
public static ResponseResult errorException(String msg)
public Integer getStatus()
public String getMsg()
public Object getData()
public String getOk()
Copyright © 2020. All rights reserved.