修复一下bug

This commit is contained in:
wangjinlei
2024-04-23 16:36:04 +08:00
parent 3cbd29de4b
commit ba2fa6baf3
12 changed files with 174 additions and 2 deletions

View File

@@ -62,6 +62,17 @@ public class CourseController {
return R.ok().put("courses",sociologyCourseList);
}
/**
* 获取课程目录章节详情
* @param param
* @return
*/
@RequestMapping("/getCourseCatalogueChapterDetail")
public R getCourseCatalogueChapterDetail(@RequestBody ParamTo param){
Map<String, Object> chapterDetail = courseCatalogueChapterService.getChapterDetail(param.getId());
return R.ok().put("data",chapterDetail);
}
/**
* 获取课程详情
* @param param