use think\facade\Session;//引入session类文件
dump(Session::set('student.name',"cyg"));//设置session数组.第一个参数是变量 ,第二个是值哦
dump(Session::get('student.name'));//获取session数组
use think\facade\Session;//引入session类文件
dump(Session::set('student.name',"cyg"));//设置session数组.第一个参数是变量 ,第二个是值哦
dump(Session::get('student.name'));//获取session数组