refactor(internal): 优化 OSS 预签名 URL 缓存刷新任务和英雄数据缓存逻辑

- 注释掉 OSS预签名 URL 缓存刷新任务的定时执行代码
- 在 hero/hero.go 中增加对 Redis缓存和英雄数据集的非空校验
- 修改 OSS预签名 URL 生成逻辑,自动替换为 CDN 域名
This commit is contained in:
hu xiaotong
2025-07-25 17:08:39 +08:00
parent ce0fa7f2ed
commit fc41c5ca73
75 changed files with 1970 additions and 1261 deletions

View File

@@ -23,4 +23,5 @@ type EpicI18NMappings struct {
Updater interface{} // 更新者
UpdateTime *gtime.Time // 更新时间
Deleted interface{} // 是否删除
Code interface{} // 编码
}

View File

@@ -21,4 +21,5 @@ type EpicI18NMappings struct {
Updater string `json:"updater" orm:"updater" description:"更新者"` // 更新者
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
Deleted int `json:"deleted" orm:"deleted" description:"是否删除"` // 是否删除
Code string `json:"code" orm:"code" description:"编码"` // 编码
}