1
This commit is contained in:
@@ -107,14 +107,14 @@ public class CourseController {
|
||||
|
||||
@RequestMapping("/getCourseCatalogueChapterVideoList")
|
||||
public R getCourseCatalogueChapterVideoList(@RequestBody ParamTo param){
|
||||
courseCatalogueChapterVideoService.getCourseCatalogueChapterVideoList(param);
|
||||
return R.ok();
|
||||
Page courseCatalogueChapterVideoList = courseCatalogueChapterVideoService.getCourseCatalogueChapterVideoList(param);
|
||||
return R.ok().put("page",courseCatalogueChapterVideoList);
|
||||
}
|
||||
|
||||
@RequestMapping("/addCourseCatalogueChapterVideo")
|
||||
public R addCourseCatalogueChapterVideo(@RequestBody CourseCatalogueChapterVideoEntity courseCatalogueChapterVideoEntity){
|
||||
courseCatalogueChapterVideoService.save(courseCatalogueChapterVideoEntity);
|
||||
return R.ok();
|
||||
boolean save = courseCatalogueChapterVideoService.save(courseCatalogueChapterVideoEntity);
|
||||
return save?R.ok():R.error("error");
|
||||
}
|
||||
|
||||
@RequestMapping("/delCourseCatalogueChapterVideo")
|
||||
|
||||
Reference in New Issue
Block a user