📅  最后修改于: 2022-03-11 14:54:45.904000             🧑  作者: Mango
$validator = Validator::make($request->all(), [
"names" => "required|array|min:3",
"names.*" => "required|string|distinct|min:3",
]);