📅  最后修改于: 2022-03-11 14:53:42.395000             🧑  作者: Mango
$users = User::where('email', '=', $request->input('email'))->first();
if ($users === null) {
// User does not exist
} else {
// User exits
}