新增默认是否开启热榜配置

This commit is contained in:
李寻欢
2024-07-15 14:36:58 +08:00
parent e324fb2015
commit fcc61fdcd9
4 changed files with 5 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ func Sync() {
EnableSummary: config.Conf.System.DefaultRule.Summary,
EnableWelcome: config.Conf.System.DefaultRule.Welcome,
EnableNews: config.Conf.System.DefaultRule.News,
EnableHotTop: config.Conf.System.DefaultRule.HotTop,
ClearMember: 0,
LastActive: time.Now().Local(),
}).Error