where ( array ('address' => $mail ) )->find (); if ($data == null) { $this->success ( "邮箱未被注册!", '', true ); } else { $this->error ( "邮箱已被注册!", '', true ); } } }