瀏覽代碼

😁清理代码

zuohuaijun 2 年之前
父節點
當前提交
e8b0dabcf2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Admin.NET/Admin.NET.Core/Service/Cache/SysCacheService.cs

+ 1 - 1
Admin.NET/Admin.NET.Core/Service/Cache/SysCacheService.cs

@@ -133,7 +133,7 @@ public class SysCacheService : IDynamicApiController, ISingleton
     [DisplayName("获取缓存值")]
     public object GetValue(string key)
     {
-        return _cache == Cache.Default 
+        return _cache == Cache.Default
             ? _cache.Get<object>($"{_cacheOptions.Prefix}{key}")
             : _cache.Get<string>($"{_cacheOptions.Prefix}{key}");
     }