From b09f2de226b7d67317c6effbb47ff107e14959b9 Mon Sep 17 00:00:00 2001 From: vilson <545522390@qq.com> Date: Thu, 25 Jul 2019 14:33:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=BC=93=E5=AD=98=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: vilson <545522390@qq.com> --- .gitignore | 2 ++ config/cache.php | 33 ++++++++++++--------------------- index.html | 1 + 3 files changed, 15 insertions(+), 21 deletions(-) create mode 100644 index.html diff --git a/.gitignore b/.gitignore index 28bfa28..61d9741 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ /static/upload !composer.json /composer.lock +/config/dingtalk.php +/config/mail.php diff --git a/config/cache.php b/config/cache.php index e24c86a..4668e89 100644 --- a/config/cache.php +++ b/config/cache.php @@ -24,25 +24,16 @@ 'expire' => 0, ];*/ return [ - 'type' => 'redis', - // 默认使用的缓存 - 'default' => [ - // 驱动方式 - 'type' => 'file', - // 缓存保存目录 - 'path' => './runtime/default', - ], - // redis缓存 - 'redis' => [ - // 驱动方式 - 'type' => 'redis', - // 服务器地址 - 'host' => '127.0.0.1', - // 端口 - 'port' => '6379', - // 缓存保存目录 - 'path' => './runtime/cache', - // 全局缓存有效期(0为永久有效) - 'expire'=> 0, - ], + // 驱动方式 + 'type' => 'redis', + // 服务器地址 + 'host' => '127.0.0.1', + // 密码 + 'password' => '', + // 端口 + 'port' => '6379', + // 缓存保存目录 + 'path' => './runtime/cache', + // 全局缓存有效期(0为永久有效) + 'expire' => 0, ]; diff --git a/index.html b/index.html new file mode 100644 index 0000000..4745cf6 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +