kongzy
2024-07-05 14821e28286d773ad5ff2c13510e39c5eb117daf
exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseChapterController.java
@@ -43,7 +43,7 @@
    @ApiOperation(value = "根据id获取课程章节信息")
    @GetMapping(value = { "/{chapterId}" })
    public CommonResult getCompanyInfo(@PathVariable(value = "chapterId", required = true) Long chapterId)
    public CommonResult getChapterInfo(@PathVariable(value = "chapterId", required = true) Long chapterId)
    {
        return CommonResult.success(courseChapterService.selectChapterById(chapterId));
    }
@@ -76,7 +76,7 @@
    @GetMapping(value = { "/getCourseChapter" })
    public CommonResult getCourseChapter(@RequestParam(required = true)Long courseId)
    {
        return CommonResult.success(courseChapterService.selectChapterByCourseId(courseId));
        return CommonResult.success(courseChapterService.selectChapterByCourseId(courseId,null));
    }
    @ApiOperation(value = "校验章节名称是否唯一")