Laravel 设置cookie并跳转

暂无标签
Cookie::queue('名','值', 时间分钟);
return redirect('/note/'.$note->alias)->with(['msg'=>'密码输入正确,1小时内可正常访问','alert'=>'success']);