This commit is contained in:
2025-07-28 22:35:13 +08:00
parent af62e855b2
commit 7e15c8aa39
5 changed files with 18 additions and 13 deletions

View File

@@ -29,7 +29,6 @@ func SetupGormCache(db *gorm.DB, cacheService interfaces.CacheService, cfg *conf
// 配置启用缓存的表
EnabledTables: []string{
"users",
"product",
"product_category",
"enterprise_info_submit_records",
@@ -90,7 +89,6 @@ func GetCacheConfig(cfg *config.Config) cache.CacheConfig {
InvalidateDelay: 50 * time.Millisecond,
EnabledTables: []string{
"users",
"product",
"product_category",
"enterprise_info_submit_records",
@@ -122,7 +120,6 @@ func GetCacheConfig(cfg *config.Config) cache.CacheConfig {
InvalidateDelay: 200 * time.Millisecond,
EnabledTables: []string{
"users",
"product",
"product_category",
"enterprise_info_submit_records",