Browse Source

fixup! chore: 代码优化

喵你个旺呀 1 year ago
parent
commit
3aa55f7d86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Admin.NET/Admin.NET.Core/SqlSugar/SqlSugarFilter.cs

+ 1 - 1
Admin.NET/Admin.NET.Core/SqlSugar/SqlSugarFilter.cs

@@ -40,7 +40,7 @@ public static class SqlSugarFilter
     public static void DeleteCustomCache(long userId, string dbConfigId)
     {
         // 删除自定义缓存——过滤器
-        _cache.Remove($"db:{dbConfigId}:custom:{userId}");
+        Cache.Remove($"db:{dbConfigId}:custom:{userId}");
     }
 
     /// <summary>