From 97d3514416490f43572b7074b5ec50025088caeb Mon Sep 17 00:00:00 2001
From: falcon <9504402@qq.com>
Date: Mon, 4 Mar 2019 14:01:38 +0800
Subject: [PATCH] =?UTF-8?q?(#3)=E5=A2=9E=E5=8A=A0=E7=BC=93=E5=86=B2?=
=?UTF-8?q?=E6=8F=90=E4=BE=9B=E5=99=A8=E5=B7=A5=E5=8E=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
WebSiteCode/Cmdjy/Cmdjy/Bll/Cache.cs | 13 +++++++++++++
1 file changed, 13 insertions(+)
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
{
///