```
refactor(dict): 调整缓存逻辑并优化数据获取方式 将原先基于 gcache 的缓存机制移除,改为使用 gdb 内置的
This commit is contained in:
@@ -13,7 +13,7 @@ type EffectService struct {
|
||||
|
||||
func (s *EffectService) Args(id uint32) (int, []int) {
|
||||
m := cool.DBM(s.Model).Where("se_idx", id).Cache(gdb.CacheOption{
|
||||
// Duration: time.Hour,
|
||||
//Duration: time.Hour,
|
||||
|
||||
Force: false,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user