From 7819033c4e614d2ac62b555bcb958c8691524b7e Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Thu, 1 Jun 2023 17:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/ajcaptcha.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ajcaptcha.php b/config/ajcaptcha.php index ad91bcde..1fdb18bc 100644 --- a/config/ajcaptcha.php +++ b/config/ajcaptcha.php @@ -35,7 +35,7 @@ return [ ], 'cache' => [ //若您使用了框架,并且想使用类似于redis这样的缓存驱动,则应换成框架的中的缓存驱动 - 'constructor' => \Fastknife\Utils\CacheUtils::class, + 'constructor' => [think\Facade\Cache::class, 'instance'], 'method' => [ //遵守PSR-16规范不需要设置此项(tp6, laravel,hyperf)。如tp5就不支持(tp5缓存方法是rm,所以要配置为"delete" => "rm") /**