Browse Source

!432 缓存详情返回字符串
Merge pull request !432 from skywolf627/N/A

zuohuaijun 3 năm trước cách đây
mục cha
commit
95d1581fa9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Admin.NET/Admin.NET.Core/Service/Cache/SysCacheService.cs

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

@@ -178,9 +178,9 @@ public class SysCacheService : IDynamicApiController, ISingleton
     /// <param name="cacheKey"></param>
     /// <returns></returns>
     [HttpGet("/sysCache/detail")]
-    public dynamic CacheDetail(string cacheKey)
+    public string CacheDetail(string cacheKey)
     {
-        return _cache.Get<dynamic>(cacheKey);
+        return _cache.Get<string>(cacheKey);
     }
 
     ///// <summary>