mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-23 11:34:27 +08:00
系统配置重构,支持后台管理页面配置
This commit is contained in:
@@ -172,3 +172,19 @@ type SystemConfig struct {
|
||||
MaxFileSize int `json:"max_file_size"` // 最大文件大小,单位:MB
|
||||
|
||||
}
|
||||
|
||||
// 配置键名常量
|
||||
const (
|
||||
ConfigKeySystem = "system"
|
||||
ConfigKeyNotice = "notice"
|
||||
ConfigKeyAgreement = "agreement"
|
||||
ConfigKeyPrivacy = "privacy"
|
||||
ConfigKeyApi = "api"
|
||||
ConfigKeySms = "sms"
|
||||
ConfigKeySmtp = "smtp"
|
||||
ConfigKeyOss = "oss"
|
||||
ConfigKeyAlipay = "alipay"
|
||||
ConfigKeyWechat = "wechat"
|
||||
ConfigKeyHuPi = "hupi"
|
||||
ConfigKeyGeekpay = "geekpay"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user