|
@@ -3,6 +3,7 @@ package com.keao.edu.controller;
|
|
import com.keao.edu.common.controller.BaseController;
|
|
import com.keao.edu.common.controller.BaseController;
|
|
import com.keao.edu.common.entity.HttpResponseResult;
|
|
import com.keao.edu.common.entity.HttpResponseResult;
|
|
import com.keao.edu.user.dto.ExamSubjectDto;
|
|
import com.keao.edu.user.dto.ExamSubjectDto;
|
|
|
|
+import com.keao.edu.user.entity.Subject;
|
|
import com.keao.edu.user.service.ExamSubjectService;
|
|
import com.keao.edu.user.service.ExamSubjectService;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
@@ -25,7 +26,7 @@ public class ExamSubjectController extends BaseController {
|
|
@ApiOperation("获取考试项目专业")
|
|
@ApiOperation("获取考试项目专业")
|
|
@ApiImplicitParam(name = "ExamId", value = "考试项目id", required = true, dataType = "Integer")
|
|
@ApiImplicitParam(name = "ExamId", value = "考试项目id", required = true, dataType = "Integer")
|
|
@GetMapping(value = "/getExamSubjects")
|
|
@GetMapping(value = "/getExamSubjects")
|
|
- public HttpResponseResult<List<ExamSubjectDto>> getExamSubjects(Integer examId) {
|
|
|
|
|
|
+ public HttpResponseResult<List<Subject>> getExamSubjects(Integer examId) {
|
|
return succeed(examSubjectService.getExamSubjects(examId));
|
|
return succeed(examSubjectService.getExamSubjects(examId));
|
|
}
|
|
}
|
|
|
|
|