|
@@ -86,6 +86,13 @@ public class TeacherLiveRoomController extends BaseController {
|
|
|
liveRoomService.destroyExpiredPracticeRoom();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("手动关闭直播间")
|
|
|
+ @GetMapping("/destroyLiveRoom")
|
|
|
+ public HttpResponseResult<Object> destroyLiveRoom(@ApiParam(value = "房间uid", required = true) String roomUid) {
|
|
|
+ liveRoomService.destroyLiveRoom(roomUid);
|
|
|
+ return succeed();
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 同步融云用户状态变更
|
|
|
*
|