1
This commit is contained in:
@@ -56,7 +56,6 @@ public class CourseController {
|
||||
return R.ok().put("catalogues",courseCatalogues);
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping("/addCourseCatalogue")
|
||||
public R addCourseCatalogue(@RequestBody CourseCatalogueEntity courseCatalogue){
|
||||
courseCatalogueService.addCourseCatalogue(courseCatalogue);
|
||||
@@ -68,4 +67,34 @@ public class CourseController {
|
||||
return courseCatalogueService.delCourseCatalogue(param.getId());
|
||||
}
|
||||
|
||||
@RequestMapping("/editCourseCatalogue")
|
||||
public R editCourseCatalogue(@RequestBody CourseCatalogueEntity c){
|
||||
courseCatalogueService.updateById(c);
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
|
||||
public R getCourseCatalogueChapterList(@RequestBody ParamTo param){
|
||||
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
|
||||
public R addCourseCatalogueChapter(){
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public R delCourseCatalogueChapter(){
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public R editCourseCatalogueChapter(){
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user