feat: add announcement setting

pull/761/head
Xhofe 2022-03-12 21:09:33 +08:00
parent 9c2fc8e860
commit 0aa438dce4
1 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,14 @@ func InitSettings() {
Access: model.PUBLIC,
Group: model.FRONT,
},
{
Key: "announcement",
Value: "This is a test announcement.",
Description: "announcement message",
Type: "text",
Access: model.PUBLIC,
Group: model.FRONT,
},
{
Key: "text types",
Value: strings.Join(conf.TextTypes, ","),