Explorar o código

修复前端获取缓存出现报错的情况
修复前端获取缓存出现报错的情况

Signed-off-by: 新无止竞 <734913414@qq.com>

新无止竞 %!s(int64=4) %!d(string=hai) anos
pai
achega
f73ac14769
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 string CacheDetail(string cacheKey)
+    public dynamic CacheDetail(string cacheKey)
     {
-        return _cache.Get<string>(cacheKey);
+        return _cache.Get<dynamic>(cacheKey);
     }
 
     ///// <summary>