|
@@ -35,10 +35,10 @@ public class CommonQuestionInfoController extends BaseController{
|
|
/**
|
|
/**
|
|
* 查询模拟考试题库
|
|
* 查询模拟考试题库
|
|
*/
|
|
*/
|
|
- @GetMapping("/selectFreeQuestionInfo")
|
|
|
|
- @ApiOperation("查询免费题库")
|
|
|
|
- public ResponsePageInfo<QuestionInfo> selectFreeQuestionInfo(){
|
|
|
|
- List<QuestionInfo> list = questionInfoService.selectFreeQuestionInfo();
|
|
|
|
|
|
+ @GetMapping("/selectTestQuestionInfo")
|
|
|
|
+ @ApiOperation("查询模拟考试题库")
|
|
|
|
+ public ResponsePageInfo<QuestionInfo> selectTestQuestionInfo(@ModelAttribute QuestionInfoTestDTO questionInfoTestDTO){
|
|
|
|
+ List<QuestionInfo> list = questionInfoService.selectTestQuestionInfo(questionInfoTestDTO);
|
|
return toResponsePageInfo(list);
|
|
return toResponsePageInfo(list);
|
|
}
|
|
}
|
|
}
|
|
}
|