ソースを参照

查询模拟考试题库

小么熊🐻 3 年 前
コミット
14a8b6c06a

+ 4 - 4
twzd-admin/src/main/java/com/miaxis/app/controller/common/CommonQuestionInfoController.java

@@ -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);
     }
 }