|
@@ -10,6 +10,32 @@ public class HttpRespMsg implements Serializable {
|
|
|
//status code, ok or error.
|
|
|
public String code;
|
|
|
|
|
|
+ //为code生成getter和setter方法
|
|
|
+ public String getCode() {
|
|
|
+ return code;
|
|
|
+ }
|
|
|
+ public void setCode(String code) {
|
|
|
+ this.code = code;
|
|
|
+ }
|
|
|
+
|
|
|
+ //为data生成getter和setter方法
|
|
|
+ public Object getData() {
|
|
|
+ return data;
|
|
|
+ }
|
|
|
+ public void setData(Object data) {
|
|
|
+ this.data = data;
|
|
|
+ }
|
|
|
+
|
|
|
+ //为msg生成getter和setter方法
|
|
|
+ public String getMsg() {
|
|
|
+ return msg;
|
|
|
+ }
|
|
|
+ public void setMsg(String msg) {
|
|
|
+ this.msg = msg;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
public String msg;
|