def METHOD_NAME(conditions, group_by, group_by_check=AE.group_list):
    """
    检验参数是否正确
    :param conditions:参数是一个dict
    :param group_by:分组凭据
    :param group_by_check:分组检查内容
    :return:
    """
    result_dict = {"success": False, "content": None, "conditions": conditions, "group_by": None}
    if not isinstance(conditions, dict):
        message = "params conditions[%s] are invalid dict data" % conditions
        logger.error(message)
        result_dict["content"] = message
        return result_dict
    # 检查传递分组是否有误
    if group_by not in group_by_check:
        message = "params group_by[%s] is invalid" % group_by
        logger.error(message)
        result_dict["content"] = message
        return result_dict
    result_dict["success"] = True
    result_dict["group_by"] = group_by
    result_dict["conditions"] = conditions
    return result_dict