集成CSRedis分布式存储,调整创建者和更新者字段,登录RSA使用配置文件配置私钥
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using CSRedis;
|
||||
using Infrastructure;
|
||||
using Microsoft.Extensions.Caching.Distributed;
|
||||
|
||||
namespace ZR.Common.Cache
|
||||
{
|
||||
@@ -12,6 +13,7 @@ namespace ZR.Common.Cache
|
||||
{
|
||||
Cache = new CSRedisClient(AppSettings.GetConfig("RedisServer:Cache"));
|
||||
Session = new CSRedisClient(AppSettings.GetConfig("RedisServer:Session"));
|
||||
RedisHelper.Initialization(Cache);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user