修改验证码缓存
This commit is contained in:
parent
0a250f33c0
commit
7819033c4e
@ -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")
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user