feat: 新增登录接口

This commit is contained in:
2024-12-31 18:05:36 +08:00
parent b0635d7e84
commit b210b95988
8 changed files with 219 additions and 2 deletions

View File

@@ -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:',
]
],
];