控制器引用
use Illuminate\Support\Facades\Session;
session 写入Session::put('username',$name);
session 读取$name=Session::get('username');
控制器引用
use Illuminate\Support\Facades\Session;
session 写入Session::put('username',$name);
session 读取$name=Session::get('username');