更新接口

This commit is contained in:
2024-10-25 17:47:54 +08:00
parent 590c54b777
commit 25185be6fe
3 changed files with 13 additions and 14 deletions

View File

@@ -25,16 +25,17 @@ public class LiveDanmuController {
@ResponseBody
@RequestMapping("/live/danmu/stop")
public JSONObject stopLiveDanmu(String roomId) {
service.stop(roomId);
service.stop(roomId,true);
return ResultData.success(ReturnCode.RC100);
}
@ResponseBody
@RequestMapping("/live/danmu/start")
public JSONObject startLiveDanmu(String roomId) {
service.start(roomId);
service.start(roomId, true);
return ResultData.success(ReturnCode.RC100);
}
@ResponseBody
@RequestMapping("/live/danmu/file/list")
public JSONObject getDanmuList(String roomId) {