laravel 控制器里 redirect url地址传两个参数的方法时间:2022-10-17 17:32:29 public function red_search() { $url=Request::all(); return redirect('search/'.$url['category'].'/'.$url['term']); }