【私域操盘手】账号密码登录
This commit is contained in:
@@ -45,7 +45,7 @@ return [
|
||||
// 默认语言
|
||||
'default_lang' => 'zh-cn',
|
||||
// 应用类库后缀
|
||||
'class_suffix' => true,
|
||||
'class_suffix' => false,
|
||||
// 控制器类后缀
|
||||
'controller_suffix' => false,
|
||||
|
||||
@@ -54,9 +54,9 @@ return [
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// 默认模块名
|
||||
'default_module' => 'frontend',
|
||||
'default_module' => 'index',
|
||||
// 禁止访问模块
|
||||
'deny_module_list' => ['common'],
|
||||
'deny_module_list' => [],
|
||||
// 默认控制器名
|
||||
'default_controller' => 'Index',
|
||||
// 默认操作名
|
||||
@@ -89,9 +89,9 @@ return [
|
||||
// IP代理获取标识
|
||||
'http_agent_ip' => 'X-REAL-IP',
|
||||
// URL伪静态后缀
|
||||
'url_html_suffix' => '',
|
||||
'url_html_suffix' => 'html',
|
||||
// URL普通方式参数 用于自动生成
|
||||
'url_common_param' => true,
|
||||
'url_common_param' => false,
|
||||
// URL参数方式 0 按名称成对解析 1 按顺序解析
|
||||
'url_param_type' => 0,
|
||||
// 是否开启路由延迟解析
|
||||
|
||||
@@ -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,
|
||||
// 数据库读写是否分离 主从式有效
|
||||
|
||||
@@ -15,4 +15,12 @@
|
||||
return [
|
||||
// 默认中间件命名空间
|
||||
'default_namespace' => 'app\\http\\middleware\\',
|
||||
|
||||
// 别名或分组
|
||||
'alias' => [
|
||||
'jwt' => 'JwtAuth',
|
||||
],
|
||||
|
||||
// 优先级设置,此数组中的中间件会按照数组中的顺序优先执行
|
||||
'priority' => [],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user