From 145579067d428f5dd07048bb616e8ff0b74d2759 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 16 May 2023 10:02:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E5=88=9B=E5=BB=BA=E9=97=AE?= =?UTF-8?q?=E8=AF=8A=E8=AE=A2=E5=8D=95log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Factory/CacheFactory.php | 17 +++++++++++++++++ app/Factory/ProdRedisFactory.php | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 app/Factory/CacheFactory.php create mode 100644 app/Factory/ProdRedisFactory.php diff --git a/app/Factory/CacheFactory.php b/app/Factory/CacheFactory.php new file mode 100644 index 0000000..9f3f0a0 --- /dev/null +++ b/app/Factory/CacheFactory.php @@ -0,0 +1,17 @@ +driver = $manager->getDriver('prod'); + } +} \ No newline at end of file diff --git a/app/Factory/ProdRedisFactory.php b/app/Factory/ProdRedisFactory.php new file mode 100644 index 0000000..1c3d17f --- /dev/null +++ b/app/Factory/ProdRedisFactory.php @@ -0,0 +1,10 @@ +