提交 | 用户 | age
|
b8f5f5
|
1 |
package com.hz.util.http.dto; |
C |
2 |
|
|
3 |
/** |
|
4 |
* 请求返回统一dto |
|
5 |
*/ |
|
6 |
public class HttpHzResponse { |
|
7 |
|
|
8 |
/**请求状态*/ |
|
9 |
private String code; |
|
10 |
/**错误信息*/ |
|
11 |
private String msg; |
|
12 |
/**返回信息*/ |
|
13 |
private String data; |
|
14 |
|
b5bfe5
|
15 |
/**请求返回状态*/ |
C |
16 |
public static final String CODE_200 = "200"; |
|
17 |
|
b8f5f5
|
18 |
public String getCode() { |
C |
19 |
return code; |
|
20 |
} |
|
21 |
|
|
22 |
public void setCode(String code) { |
|
23 |
this.code = code; |
|
24 |
} |
|
25 |
|
|
26 |
public String getMsg() { |
|
27 |
return msg; |
|
28 |
} |
|
29 |
|
|
30 |
public void setMsg(String msg) { |
|
31 |
this.msg = msg; |
|
32 |
} |
|
33 |
|
|
34 |
public String getData() { |
|
35 |
return data; |
|
36 |
} |
|
37 |
|
|
38 |
public void setData(String data) { |
|
39 |
this.data = data; |
|
40 |
} |
|
41 |
} |