<div class="cnblogs_code">
$res=$user->where("login_id='{$username}' OR phone='{$username}'")->find();