diff --git a/WebSiteCode/Cmdjy/Cmdjy/Bll/Cache.cs b/WebSiteCode/Cmdjy/Cmdjy/Bll/Cache.cs index a8ddbdc..7d6037a 100644 --- a/WebSiteCode/Cmdjy/Cmdjy/Bll/Cache.cs +++ b/WebSiteCode/Cmdjy/Cmdjy/Bll/Cache.cs @@ -4,6 +4,19 @@ using StackExchange.Redis; namespace Cmdjy.Bll { + /// + /// 缓冲提供器工厂 + /// + public class CacheFactory + { + /// + /// 缓冲提供器 + /// + public static ICache Cache { + get => new RedisHelper() as ICache; + } + } + public interface ICache { ///