1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
return [
|
||||
// 驱动方式
|
||||
'type' => 'Redis',
|
||||
// 缓存前缀
|
||||
'key' => 'yLaFnUOEgsw8NCvGj1DH4pYurQBWRM9m',
|
||||
// 加密方式
|
||||
'hashalgo' => 'ripemd160',
|
||||
// 缓存有效期 0表示永久缓存
|
||||
'expire' => 0,
|
||||
'host' => \support\Env::get('redis.host'),
|
||||
'password' => \support\Env::get('redis.password',null),
|
||||
'port' => \support\Env::get('redis.port',6379),
|
||||
// 缓存前缀
|
||||
'prefix' => \support\Env::get('redis.prefix','cache:'),
|
||||
'select' => \support\Env::get('redis.database','0'),
|
||||
'timeout' => 0,
|
||||
'persistent' => false,
|
||||
'userprefix' => 'up:',
|
||||
'tokenprefix' => 'tp:',
|
||||
];
|
||||
Reference in New Issue
Block a user