修改验证码缓存

This commit is contained in:
luofei 2023-06-01 17:43:13 +08:00
parent 0a250f33c0
commit 7819033c4e

View File

@ -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"
/**