|
@@ -6,7 +6,9 @@ import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
import cn.com.qmth.examcloud.commons.web.redis.RedisClient;
|
|
import cn.com.qmth.examcloud.commons.web.redis.RedisClient;
|
|
import cn.com.qmth.examcloud.core.questions.api.PaperCloudService;
|
|
import cn.com.qmth.examcloud.core.questions.api.PaperCloudService;
|
|
|
|
+import cn.com.qmth.examcloud.core.questions.api.request.GetExtractConfigReq;
|
|
import cn.com.qmth.examcloud.core.questions.api.request.GetQuestionListReq;
|
|
import cn.com.qmth.examcloud.core.questions.api.request.GetQuestionListReq;
|
|
|
|
+import cn.com.qmth.examcloud.core.questions.api.response.GetCommonResp;
|
|
import cn.com.qmth.examcloud.core.questions.api.response.GetPaperResp;
|
|
import cn.com.qmth.examcloud.core.questions.api.response.GetPaperResp;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -31,6 +33,11 @@ public class PaperCloudServiceClient extends BasicCloudClientSupport implements
|
|
return post("default_paper/genPaper", req, GetPaperResp.class);
|
|
return post("default_paper/genPaper", req, GetPaperResp.class);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public GetCommonResp examPaper(GetExtractConfigReq req) {
|
|
|
|
+ return post("default_paper/examPaper", req, GetCommonResp.class);
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
protected RestTemplate getRestTemplate() {
|
|
protected RestTemplate getRestTemplate() {
|
|
return restTemplate;
|
|
return restTemplate;
|