|
@@ -9,12 +9,22 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
* @date 2019年9月16日
|
|
|
* @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
|
*/
|
|
|
-public class JsonHttpResp {
|
|
|
+public class JsonHttpResponseHolder {
|
|
|
|
|
|
private int status;
|
|
|
|
|
|
private JSONObject respBody;
|
|
|
|
|
|
+ public JsonHttpResponseHolder() {
|
|
|
+ super();
|
|
|
+ }
|
|
|
+
|
|
|
+ public JsonHttpResponseHolder(int status, JSONObject respBody) {
|
|
|
+ super();
|
|
|
+ this.status = status;
|
|
|
+ this.respBody = respBody;
|
|
|
+ }
|
|
|
+
|
|
|
public int getStatus() {
|
|
|
return status;
|
|
|
}
|