优化IP获取配置

pull/276/head
Karson 2021-01-25 16:51:26 +08:00
parent e097ae2429
commit ce8c3a94d9
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ return [
'class_suffix' => false,
// 控制器类后缀
'controller_suffix' => false,
// 获取IP的变量
'http_agent_ip' => 'REMOTE_ADDR',
// +----------------------------------------------------------------------
// | 模块设置
// +----------------------------------------------------------------------