public class Message<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
T |
data
请求返回数据 JSON
|
String |
errcode
请求返回码,错误为具体返回码,正确为 0
|
String |
errmsg
请求返回消息
|
| Constructor and Description |
|---|
Message(String errcode,
String errmsg,
T data) |
| Modifier and Type | Method and Description |
|---|---|
T |
getData() |
String |
getErrcode() |
String |
getErrmsg() |
void |
setData(T data) |
void |
setErrcode(String errcode) |
void |
setErrmsg(String errmsg) |
Copyright © 2019. All rights reserved.