WANG 5 éve
szülő
commit
0a8f87a76b

+ 11 - 1
src/main/java/cn/com/qmth/examcloud/commons/helpers/JsonHttpResp.java → src/main/java/cn/com/qmth/examcloud/commons/helpers/JsonHttpResponseHolder.java

@@ -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;
 	}