集成CSRedis分布式存储,调整创建者和更新者字段,登录RSA使用配置文件配置私钥

This commit is contained in:
2023-09-22 01:09:47 +08:00
parent de76f5872a
commit d3556cc058
25 changed files with 95 additions and 33 deletions
+2
View File
@@ -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);
}
}
}