📅  最后修改于: 2022-03-11 14:53:41.535000             🧑  作者: Mango
//User:: User is going to be what model you use.
//$user can be what ever you need it to be
$user = User::where('email', '=', Input::get('email'))->first();
if ($user != null) {
// Record does exist
}