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