去除引用common.props
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using JNPF.DependencyInjection;
|
||||
using System.Reflection;
|
||||
using JNPF.DependencyInjection;
|
||||
using Microsoft.Extensions.Caching.Memory;
|
||||
using System.Reflection;
|
||||
|
||||
namespace JNPF.Common.Cache;
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ public class RedisCache : ICache, ISingleton
|
||||
}
|
||||
public Task<string> GetHash(string key, string field)
|
||||
{
|
||||
return RedisHelper.HGetAsync(key, field);
|
||||
return RedisHelper.HGetAsync(key, field);
|
||||
}
|
||||
public Task<bool> HashExist(string key, string field)
|
||||
{
|
||||
@@ -238,6 +238,6 @@ public class RedisCache : ICache, ISingleton
|
||||
}
|
||||
public Task<bool> HSet(string key, string field, string value)
|
||||
{
|
||||
return RedisHelper.HSetAsync(key, field,value);
|
||||
return RedisHelper.HSetAsync(key, field, value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user