This commit is contained in:
wangjinlei
2024-05-28 17:46:39 +08:00
parent af4c961793
commit bda5846153
7 changed files with 44 additions and 26 deletions

View File

@@ -164,8 +164,7 @@ public class CourseController {
*/
@RequestMapping("/checkVideo")
public R checkVideo(@RequestBody CourseCatalogueChapterVideoEntity video) throws Exception {
CourseCatalogueChapterVideoEntity courseCatalogueChapterVideoEntity = courseCatalogueChapterVideoService.checkVideo(video);
return R.ok().put("video",courseCatalogueChapterVideoEntity);
return courseCatalogueChapterVideoService.checkVideo(video);
}
@RequestMapping("/getMyCourse")