WANG 5 年之前
父節點
當前提交
0a8f87a76b
共有 1 個文件被更改,包括 11 次插入1 次删除
  1. 11 1
      src/main/java/cn/com/qmth/examcloud/commons/helpers/JsonHttpResponseHolder.java

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