This commit is contained in:
2026-07-18 17:07:34 +08:00
parent 70f8d2a35d
commit 7406d4f6ee
5 changed files with 59 additions and 32 deletions

View File

@@ -24,8 +24,9 @@ type Config struct {
// LicenseConfig 授权配置
type LicenseConfig struct {
VerifyURL string `mapstructure:"verify_url"` // 远程验证接口地址(可选)
VerifyURL string `mapstructure:"verify_url"` // 远程验证接口地址(外网必填)
FilePath string `mapstructure:"file_path"` // 授权文件路径, 默认 ./license.json
Network string `mapstructure:"network"` // 网络类型: internal=内网(仅本地校验) / external=外网(需远程验证)
}
// BackupConfig 备份工具配置