fix 修复修改星期失败的问题

This commit is contained in:
zlzw 2024-11-30 15:03:17 +08:00
parent dad4bcff15
commit a12b1b5bd8
2 changed files with 8 additions and 1 deletions

View File

@ -249,6 +249,13 @@
'recordDanmuDate': json.recordDanmuDate, 'recordDanmuDate': json.recordDanmuDate,
'recordLiveDate': json.recordLiveDate, 'recordLiveDate': json.recordLiveDate,
'syncDanmuForLive': json.syncDanmuForLive, '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++) { for (let i = 0; i < json.weeks.length; i++) {

View File

@ -39,7 +39,7 @@ public class LiveConfigDatabaseBean extends AbsDatabasesBean {
@JSONField(name = "keyword") @JSONField(name = "keyword")
private List<String> keywordList=new ArrayList<>(); private List<String> keywordList=new ArrayList<>();
@JSONField(name = "weeks") @JSONField(name = "weeks")
private List<String> weeks=Arrays.asList("1","2","3","4","5","6","7"); private List<String> weeks=new ArrayList<>();
@JSONField(name = "recordPath") @JSONField(name = "recordPath")
private String recordPath = "live"; private String recordPath = "live";
@JSONField(name = "recordUid") @JSONField(name = "recordUid")