|
@@ -49,14 +49,14 @@ public class CourseGroupController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation("创建直播课程组-新增课程组")
|
|
|
- @PostMapping("/lockCourseTime")
|
|
|
+ @PostMapping("/addLiveCourse")
|
|
|
public HttpResponseResult<Object> addLiveCourse(@RequestBody LiveCourseGroupDto dto) {
|
|
|
courseGroupService.addLiveCourse(dto);
|
|
|
return succeed();
|
|
|
}
|
|
|
|
|
|
@ApiOperation("创建直播课程组-锁定课程时间-将课时写到缓存当作锁定的时间")
|
|
|
- @PostMapping("/lockCourseTime")
|
|
|
+ @PostMapping("/lockCourseToCache")
|
|
|
public HttpResponseResult<List<CourseTimeEntity>> lockCourseToCache(@RequestBody CheckLiveCourseTimeDto dto) {
|
|
|
return succeed(courseGroupService.lockCourseToCache(dto));
|
|
|
}
|