return redirect()->route('exams.sign',['token'=>$token,'id'=>$result['id']]);
// 签到页面 Route::get('exams/sign','ExamTwoController@sign')->name('exams.sign');
接受参数:
public function sign(Request $request) { // 接受token $token=$request->get('token'); $id=$request->get('id'); return view('exams/sign',compact('id')); }