📌  相关文章
📜  back()->with('message','成功更新密码'); larvel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:35.275000             🧑  作者: Mango

代码示例1
**Try This**
    
    Try This Code 
    --- Controller ---

    return redirect('list')->with('message', 'Successfully');
    return redirect('list');
   
  ----  Blade view ------
    @if(session()->has('message'))
        
{{ session()->get('message') }}
@endif