refactor(internal): 优化 OSS 预签名 URL 缓存刷新任务和英雄数据缓存逻辑
- 注释掉 OSS预签名 URL 缓存刷新任务的定时执行代码 - 在 hero/hero.go 中增加对 Redis缓存和英雄数据集的非空校验 - 修改 OSS预签名 URL 生成逻辑,自动替换为 CDN 域名
This commit is contained in:
@@ -23,4 +23,5 @@ type EpicI18NMappings struct {
|
||||
Updater interface{} // 更新者
|
||||
UpdateTime *gtime.Time // 更新时间
|
||||
Deleted interface{} // 是否删除
|
||||
Code interface{} // 编码
|
||||
}
|
||||
|
||||
@@ -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:"编码"` // 编码
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user