From e4e5696b705bbadc84bdede4dcedfcd508a7fb59 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 29 Nov 2024 15:45:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BA=86=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E8=AF=8D=E6=A3=80=E6=B5=8B=20=E6=96=B0=E5=A2=9E=E4=BA=86?= =?UTF-8?q?=E6=89=8B=E5=8A=A8=E6=9A=82=E5=81=9C=E7=9A=84=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/html/body/live.html | 4 +- Web/html/ui/createConfig.html | 51 ++++-- Web/index.html | 22 +-- Web/js/inputTag.js | 170 ++++++++++++++++++ .../live/database/LiveConfigDatabaseBean.java | 2 +- .../yutou/biliapi/net/WebSocketServer.java | 8 + .../Controllers/LiveConfigController.java | 11 +- .../bilibili/Controllers/LiveController.java | 27 ++- .../bilibili/services/LiveConfigService.java | 9 +- .../bilibili/services/LiveDanmuService.java | 6 + .../services/LiveVideoDownloadService.java | 21 ++- 11 files changed, 298 insertions(+), 33 deletions(-) create mode 100644 Web/js/inputTag.js diff --git a/Web/html/body/live.html b/Web/html/body/live.html index 73d809c..6b2bf69 100644 --- a/Web/html/body/live.html +++ b/Web/html/body/live.html @@ -43,6 +43,7 @@ layer.open({ type: 2, title: "添加新房间", + maxmin: true, area: ['600px', '500px'], content: '/html/ui/createConfig.html?roomId=' + roomId @@ -52,6 +53,7 @@ layer.open({ type: 2, title: "批量编辑", + maxmin: true, area: ['600px', '500px'], content: '/html/ui/createConfig.html?array=' + array @@ -88,7 +90,7 @@ { field: 'anchorName', title: '用户名', width: 100, fixed: 'left' }, { field: 'anchorFace', title: '头像', width: 80, templet: '
' }, { field: 'live_room_id', title: '房间号', width: 80, templet: '
{{= d.live_room_id}}' }, - { field: 'recordPath', title: '保存路径', width: 120 }, + { field: 'keyword', title: '监听关键词', width: 120 }, { field: 'recordDanmu', title: '录制弹幕', width: 120, sort: true }, { field: 'recordLive', title: '录制视频', width: 120, sort: true }, { field: 'syncDanmuForLive', title: '同步录制', width: 120, sort: true }, diff --git a/Web/html/ui/createConfig.html b/Web/html/ui/createConfig.html index 9cdfbd2..842e038 100644 --- a/Web/html/ui/createConfig.html +++ b/Web/html/ui/createConfig.html @@ -1,5 +1,10 @@ + + + + +