feat: 添加index应用模块

This commit is contained in:
2025-04-03 15:08:27 +08:00
parent d637c9206e
commit 33990b56fa
10 changed files with 40 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ return [
// 默认语言
'default_lang' => env('DEFAULT_LANG', 'zh-cn'),
// 允许的语言列表
'allow_lang_list' => [],
'allow_lang_list' => ['zh-cn', 'en-us'],
// 多语言自动侦测变量名
'detect_var' => 'lang',
// 是否使用Cookie记录
@@ -23,5 +23,5 @@ return [
'zh-hans-cn' => 'zh-cn',
],
// 是否支持语言分组
'allow_group' => false,
'allow_group' => true,
];

View File

@@ -29,7 +29,7 @@ return [
// 是否使用控制器后缀
'controller_suffix' => false,
// 默认模块名(开启自动多模块有效)
'default_module' => 'home',
'default_module' => 'index',
// 默认控制器名
'default_controller' => 'Index',
// 默认操作名