www.mjjq.net > lArAvEl rEDirECt to

lArAvEl rEDirECt to

public官给默认路径要改php artisan servePHP+5.4内置发服务器使用Apache或Nginx作自服务器建议使用laravel官推虚拟盒homestead,非用 参考篇文章中国//blog.csdn中国/leijun19930412/article/details/43374349

$discussion = Discussion::create(array_merge($request->all(),$data));return redirect()->action('Controller@index',['id'=>$discussion->id]);

$discussion = Discussion::create(array_merge($request->all(),$data));//添加return redirect()->action('Controller@index',['id'=>$discussion->id])

网站地图

All rights reserved Powered by www.mjjq.net

copyright ©right 2010-2021。
www.mjjq.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com