1、如何添加? 在根目录下的 config 目录下,添加一个 custom.php(此文件名随意),内容如下 return ['auth_key' => '88888888888888']; 2、如果使用? 在控制器里打印 echo \think\facade\Config::get('custom.auth_key');