bug
This commit is contained in:
@@ -59,6 +59,12 @@ public class CourseController {
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@RequestMapping("/getCoursedetail")
|
||||
public R getCoursedetail(@RequestBody ParamTo param){
|
||||
CourseEntity course = courseService.getById(param.getId());
|
||||
return R.ok().put("course",course);
|
||||
}
|
||||
|
||||
@RequestMapping("/getCourseCatalogues")
|
||||
public R getCourseCatalogues(@RequestBody ParamTo param){
|
||||
List<CourseCatalogueEntity> courseCatalogues = courseCatalogueService.getCourseCatalogues(param.getId());
|
||||
|
||||
Reference in New Issue
Block a user