1234567891011121314151617181920212223 |
- <?php
- use think\Config;
- return [
- 'connector' => 'Redis',
- 'expire' => null,
- 'default' => 'default',
- 'host' => Config::get('cache')['redis']['host'],
- 'port' => Config::get('cache')['redis']['port'],
- 'password' => Config::get('cache')['redis']['password'],
- 'select' => 0,
- 'timeout' => 0,
- 'persistent' => false,
- ];
|