【私域操盘手】账号密码登录

This commit is contained in:
eison
2025-03-16 17:43:30 +08:00
parent f4e36f1921
commit 1d7a87f29f
30 changed files with 1474 additions and 97 deletions

View File

@@ -11,27 +11,27 @@
return [
// 数据库类型
'type' => 'mysql',
'type' => env('database.type', 'mysql'),
// 服务器地址
'hostname' => '127.0.0.1',
'hostname' => env('database.hostname', '127.0.0.1'),
// 数据库名
'database' => 'yishi',
'database' => env('database.database', 'yishi'),
// 用户名
'username' => 'yishi',
'username' => env('database.username', 'root'),
// 密码
'password' => 'KcankSjjdZ5CsTC7',
'password' => env('database.password', '123456'),
// 端口
'hostport' => '',
'hostport' => env('database.hostport', '3306'),
// 连接dsn
'dsn' => '',
// 数据库连接参数
'params' => [],
// 数据库编码默认采用utf8
'charset' => 'utf8mb4',
'charset' => env('database.charset', 'utf8mb4'),
// 数据库表前缀
'prefix' => 'tk_',
'prefix' => env('database.prefix', 'tk_'),
// 数据库调试模式
'debug' => true,
'debug' => env('database.debug', true),
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
'deploy' => 0,
// 数据库读写是否分离 主从式有效