📜  laravel ErrorException 未定义变量:_SESSION - PHP 代码示例

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

代码示例1
$selected_deal = $req->session()->get('selected_deal'); 
$selected_deal = session('selected_deal');