新增功能配置开放

This commit is contained in:
李寻欢
2024-07-16 11:36:10 +08:00
parent d89b8033bd
commit 9e4f151623
10 changed files with 254 additions and 24 deletions

View File

@@ -2,6 +2,7 @@ package config
// 系统配置
type system struct {
Domain string `json:"domain" yaml:"domain"` // 域名
AlApiToken string `json:"alApiToken" yaml:"alApiToken"` // AL API Token
NewFriendNotify newFriendNotify `json:"newFriendNotify" yaml:"newFriendNotify"` // 新好友通知
DefaultRule defaultRule `json:"defaultRule" yaml:"defaultRule"` // 默认规则