This commit is contained in:
2026-07-18 10:52:32 +08:00
parent 2dcafae465
commit b5ef58f434
61 changed files with 1274 additions and 2142 deletions

View File

@@ -19,6 +19,13 @@ type Config struct {
JWT JWTConfig `mapstructure:"jwt"`
Storage StorageConfig `mapstructure:"storage"`
Backup BackupConfig `mapstructure:"backup"`
License LicenseConfig `mapstructure:"license"`
}
// LicenseConfig 授权配置
type LicenseConfig struct {
VerifyURL string `mapstructure:"verify_url"` // 远程验证接口地址(可选)
FilePath string `mapstructure:"file_path"` // 授权文件路径, 默认 ./license.json
}
// BackupConfig 备份工具配置