|
@@ -61,6 +61,12 @@ public class TaskController extends BaseController {
|
|
liveRoomService.destroyExpiredLiveRoom();
|
|
liveRoomService.destroyExpiredLiveRoom();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation("定时任务-创建房间-直播间")
|
|
|
|
+ @GetMapping("/createCourseLiveRoom")
|
|
|
|
+ public void createCourseLiveRoom() {
|
|
|
|
+ liveRoomService.createCourseLiveRoom();
|
|
|
|
+ }
|
|
|
|
+
|
|
@GetMapping("/getRedisValueByKey")
|
|
@GetMapping("/getRedisValueByKey")
|
|
public HttpResponseResult<Object> getRedisValueByKey(String key) {
|
|
public HttpResponseResult<Object> getRedisValueByKey(String key) {
|
|
return succeed(teacherTotalService.getRedisValueByKey(key));
|
|
return succeed(teacherTotalService.getRedisValueByKey(key));
|