|
@@ -5,11 +5,12 @@ import cn.com.qmth.examcloud.tool.service.CommonService;
|
|
|
import cn.com.qmth.examcloud.tool.service.export_student_answer_and_score_detail.vo.CourseVO;
|
|
|
import cn.com.qmth.examcloud.tool.service.query_paper_struct.vo.ExamPaperVO;
|
|
|
import cn.com.qmth.examcloud.tool.service.query_paper_struct.vo.ExtractConfigVO;
|
|
|
+import cn.com.qmth.examcloud.tool.service.query_paper_struct.vo.GetPaperStructResp;
|
|
|
import cn.com.qmth.examcloud.tool.utils.HttpHelper;
|
|
|
import cn.com.qmth.examcloud.tool.utils.JsonMapper;
|
|
|
import cn.com.qmth.examcloud.tool.utils.SignUtils;
|
|
|
import cn.com.qmth.examcloud.tool.vo.Pager;
|
|
|
-import cn.com.qmth.examcloud.tool.vo.User;
|
|
|
+import cn.com.qmth.examcloud.tool.vo.user.User;
|
|
|
import com.fasterxml.jackson.core.type.TypeReference;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.slf4j.Logger;
|
|
@@ -106,7 +107,10 @@ public class QueryPaperStructTask {
|
|
|
|
|
|
String url = sysProperty.getServerUrl() + "/api/exchange/outer/question/getPaperStruct";
|
|
|
String json = HttpHelper.post(url, headers, params);
|
|
|
+
|
|
|
+ GetPaperStructResp resp = new JsonMapper().parseJson(json, GetPaperStructResp.class);
|
|
|
System.out.println(json);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|