public class GeneralOutput extends Object
| 构造器和说明 |
|---|
GeneralOutput(int c,
String message,
Map<String,Object> d) |
| 限定符和类型 | 方法和说明 |
|---|---|
GeneralOutput |
fail() |
GeneralOutput |
failWithMsg(String withMessage) |
GeneralOutput |
failWithSysError() |
int |
getCode() |
Map<String,Object> |
getData() |
String |
getMsg() |
GeneralOutput |
msg(String message) |
void |
setCode(int code) |
void |
setData(Map<String,Object> data) |
void |
setMsg(String msg) |
public GeneralOutput fail()
public GeneralOutput msg(String message)
public GeneralOutput failWithMsg(String withMessage)
public GeneralOutput failWithSysError()
public int getCode()
public void setCode(int code)
public String getMsg()
public void setMsg(String msg)
Copyright © 2018. All rights reserved.