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")