From a12b1b5bd8304c6998c3ef86f68fcff347a29747 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Sat, 30 Nov 2024 15:03:17 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=98=9F=E6=9C=9F=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/html/ui/createConfig.html | 7 +++++++ .../biliapi/bean/live/database/LiveConfigDatabaseBean.java | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Web/html/ui/createConfig.html b/Web/html/ui/createConfig.html index 842e038..ea68835 100644 --- a/Web/html/ui/createConfig.html +++ b/Web/html/ui/createConfig.html @@ -249,6 +249,13 @@ 'recordDanmuDate': json.recordDanmuDate, 'recordLiveDate': json.recordLiveDate, 'syncDanmuForLive': json.syncDanmuForLive, + 'week_1':false, + 'week_2':false, + 'week_3':false, + 'week_4':false, + 'week_5':false, + 'week_6':false, + 'week_7':false, }; for (let i = 0; i < json.weeks.length; i++) { diff --git a/src/main/java/com/yutou/biliapi/bean/live/database/LiveConfigDatabaseBean.java b/src/main/java/com/yutou/biliapi/bean/live/database/LiveConfigDatabaseBean.java index 7e06699..feeadd3 100644 --- a/src/main/java/com/yutou/biliapi/bean/live/database/LiveConfigDatabaseBean.java +++ b/src/main/java/com/yutou/biliapi/bean/live/database/LiveConfigDatabaseBean.java @@ -39,7 +39,7 @@ public class LiveConfigDatabaseBean extends AbsDatabasesBean { @JSONField(name = "keyword") private List keywordList=new ArrayList<>(); @JSONField(name = "weeks") - private List weeks=Arrays.asList("1","2","3","4","5","6","7"); + private List weeks=new ArrayList<>(); @JSONField(name = "recordPath") private String recordPath = "live"; @JSONField(name = "recordUid")