import random


def make_act_type_data(act_tp):
    """
    随机生成账号等级，提高高级别账号权重
    :param act_tp: 账号类型
    :return: 随机账号类别标识码，高级别账号权重较大
    """
    if act_tp == "11":
        act_typ = random.choice(["3", "3", "3", "2", "2", "1"])
    elif act_tp == "211":
        act_typ = random.choice(["1", "1", "1", "2", "2", "3"])
    elif act_tp == "212":
        act_typ = "1"
    else:
        raise TypeError("act_tp类型错误！")
    return act_typ