feat: 新增登录接口
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
return [
|
||||
// 默认缓存驱动
|
||||
'default' => 'file',
|
||||
'default' => 'redis',
|
||||
|
||||
// 缓存连接方式配置
|
||||
'stores' => [
|
||||
@@ -25,5 +25,19 @@ return [
|
||||
'serialize' => [],
|
||||
],
|
||||
// 更多的缓存连接
|
||||
'redis' => [
|
||||
// 驱动方式
|
||||
'type' => 'redis',
|
||||
// 服务器地址
|
||||
'host' => '127.0.0.1',
|
||||
// 端口
|
||||
'port' => 6379,
|
||||
// 密码
|
||||
'password' => 'orico@f2b211',
|
||||
// 缓存有效期 0表示永久缓存
|
||||
'expire' => 0,
|
||||
// 缓存前缀
|
||||
'prefix' => 'ow:',
|
||||
]
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user