PHP Laravel 路由(接口)重定向_laravel redirect 设置下载请求头-CSDN博客
文章浏览阅读715次。路由接口重定向,相当于通过 路由2 访问 路由1。// 路由1Route::get('req', function () { return 'Get 请求';})-name('index.req');// 路由2Route::get('login', function () { // 方式一: // return redirect(route('index.req')); // 方式二: return redirect()-route(.._laravel redirect 设置下载请求头
// 方式一: