public class BaseResponseResult extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
action
操作名称 = 请求参数Action+"Response"
|
protected String |
message
提示信息,发生错误时
|
protected String |
responseContent
response content 不进行 JsonSerDe
|
protected Integer |
retCode
返回码 0 成功,其他失败
|
| Constructor and Description |
|---|
BaseResponseResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction() |
String |
getMessage() |
String |
getResponseContent() |
Integer |
getRetCode() |
void |
setAction(String action) |
void |
setMessage(String message) |
void |
setResponseContent(String responseContent) |
void |
setRetCode(Integer retCode) |
String |
toString() |
@SerializedName(value="RetCode") protected Integer retCode
@SerializedName(value="Action") protected String action
@SerializedName(value="Message") protected String message
protected transient String responseContent
public String getResponseContent()
public void setResponseContent(String responseContent)
public Integer getRetCode()
public void setRetCode(Integer retCode)
public String getAction()
public void setAction(String action)
public String getMessage()
public void setMessage(String message)
Copyright © 2024. All rights reserved.