📅  最后修改于: 2022-03-11 14:59:34.678000             🧑  作者: Mango
use Illuminate\Support\Facades\Validator;
$validator = Validator::make($request->all(), [
'photos.profile' => 'required|image',
]);