🚀 Update build and release workflows

This commit is contained in:
2025-11-08 17:05:31 +08:00
parent 9deb2744a9
commit 05f2f7d46d
9 changed files with 13 additions and 185 deletions

View File

@@ -218,23 +218,3 @@ func NewDefaultAppConfig() *AppConfig {
},
}
}
// GetVersion 获取配置版本
func (ac *AppConfig) GetVersion() string {
return ac.Metadata.Version
}
// SetVersion 设置配置版本
func (ac *AppConfig) SetVersion(version string) {
ac.Metadata.Version = version
}
// SetLastUpdated 设置最后更新时间
func (ac *AppConfig) SetLastUpdated(timeStr string) {
ac.Metadata.LastUpdated = timeStr
}
// GetDefaultConfig 获取默认配置
func (ac *AppConfig) GetDefaultConfig() any {
return NewDefaultAppConfig()
}