Files
shgx_tz_mes_backend_sync/server/ZR.Common/Cache/RedisServer.cs
xiaowei.song 127c428a9e 油漆
2024-06-06 13:19:24 +08:00

18 lines
430 B
C#

using CSRedis;
using Infrastructure;
namespace ZR.Common.Cache
{
public class RedisServer
{
public static CSRedisClient Cache;
public static CSRedisClient Session;
public static void Initalize()
{
Cache = new CSRedisClient(AppSettings.GetConfig("RedisServer:Cache"));
Session = new CSRedisClient(AppSettings.GetConfig("RedisServer:Session"));
}
}
}