|
@@ -0,0 +1,34 @@
|
|
|
|
+package cn.com.qmth.examcloud.commons.helpers;
|
|
|
|
+
|
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * http json 响应
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @date 2019年9月16日
|
|
|
|
+ * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
|
|
+ */
|
|
|
|
+public class JsonHttpResp {
|
|
|
|
+
|
|
|
|
+ private int status;
|
|
|
|
+
|
|
|
|
+ private JSONObject respBody;
|
|
|
|
+
|
|
|
|
+ public int getStatus() {
|
|
|
|
+ return status;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setStatus(int status) {
|
|
|
|
+ this.status = status;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public JSONObject getRespBody() {
|
|
|
|
+ return respBody;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setRespBody(JSONObject respBody) {
|
|
|
|
+ this.respBody = respBody;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|