|
@@ -5,8 +5,10 @@ import org.springframework.stereotype.Service;
|
|
|
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.GetRandomPaperReq;
|
|
|
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.GetRandomPaperResp;
|
|
|
|
|
|
/**
|
|
|
* @author weiwenhai
|
|
@@ -29,4 +31,9 @@ public class PaperCloudServiceClient extends AbstractCloudClientSupport implemen
|
|
|
return post("default_paper/examPaper", req, GetCommonResp.class);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public GetRandomPaperResp getRandomPaper(GetRandomPaperReq req) {
|
|
|
+ return post("default_paper/randompaper", req, GetRandomPaperResp.class);
|
|
|
+ }
|
|
|
+
|
|
|
}
|