JellyBool 你自己创建一个 config 文件:比如 url.php ,然后写上: return [ 'path' => '/file-path' ]; 取的时候,就是 config('url.path')