用$map 当做查询条件直接用扎where查询语句中

$map['nickname'] = array("LIKE", '%' . $nickname . '%');