📅  最后修改于: 2022-03-11 14:57:10.178000             🧑  作者: Mango
public function store(Request $request)
{
switch ($request->input('action')) {
case 'save':
// Save model
break;
case 'preview':
// Preview model
break;
case 'advanced_edit':
// Redirect to advanced edit
break;
}
}