kongzy
2024-09-14 f0f00e9ba8a755e4317e029d73b69a92ad9f9df1
exam-admin/src/main/java/com/gkhy/exam/admin/controller/app/AppPaperStudentController.java
文件名从 exam-admin/src/main/java/com/gkhy/exam/admin/app/AppPaperStudentController.java 修改
@@ -1,4 +1,4 @@
package com.gkhy.exam.admin.app;
package com.gkhy.exam.admin.controller.app;
import com.gkhy.exam.common.api.CommonResult;
@@ -60,11 +60,10 @@
    @PreAuthorize("hasAnyAuthority('train:exam:student')")
    @ApiOperation(value = "结束考试")
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "body", name = "paperId", dataType = "long", required = true, value = "试卷id"),
            @ApiImplicitParam(paramType = "body", name = "studentId", dataType = "long", required = true, value = "学员id")
            @ApiImplicitParam(paramType = "body", name = "id", dataType = "long", required = true, value = "学员与试卷关系id")
    })
    @PostMapping(value = { "/endExam" })
    public CommonResult endExam(ExPaperStudent paperStudent)
    public CommonResult endExam(@RequestBody ExPaperStudent paperStudent)
    {
        paperStudentService.endExam(paperStudent);
        return CommonResult.success();