沒人遇到這問題么。路由已經(jīng)放入session的那個(gè)組件中。session也已經(jīng)導(dǎo)入
public?function?session2?(Request?$request)?{ return?'session2'; //?return?Session::get('message',?'none?msg'); } public?function?response()?{ //?響應(yīng)json /* $data?=?[ 'errCode'?=>?0, 'errMsg'?=>?'success', 'data'?=>?'ruiy' ]; return?response()->json($data);*/ //?重定向 //?return?redirect('student/session2')->with('message',?'6666'); return?redirect('student/session2'); //?return?'response'; }
2017-06-05
遇到了,也沒想明白.