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數組