📅  最后修改于: 2022-03-11 14:53:43.594000             🧑  作者: Mango
Myroutes::where('id', $id)
->update(['start' => $request->input('start'),
'end'=>$request->input('end'),
'waypoint'=>$request->input('waypoints')]
);