创建视图
创建视图success.blade.php
{{$message}},将在
{{$jumpTime}}
秒后跳转至
{{$urlname}}
页面
在controller里面返回视图
return view('citymedia.success')->with([
//跳转信息
'message'=>'你已经提交信息,请您耐心等待!',
//自己的跳转路径
'url' =>'/citymedia/interact',
//跳转路径名称
'urlname' =>'互动专区',
//跳转等待时间(s)
'jumpTime'=>2,
]);
以上这篇laravel添加前台跳转成功页面示例就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持考高分网。



