Ejemplo n.º 1
0
def start(search_date):
    """
        七天冲级的action文件解析
    """
    O, OUT_PUT_PATH_LST = get_parse_path(search_date)
    for server_id in OUT_PUT_PATH_LST.keys():
        try:
            row_list = make_action_file(search_date,server_id)
            los = Los_Class(search_date,'tables','SEVEN_DAYS_LV')
            los.save_one_server(row_list,server_id)
        except:
            pass
Ejemplo n.º 2
0
def start(search_date):
    """
    满额返利
    """
    O, OUT_PUT_PATH_LST = get_parse_path(search_date)
    for server_id in OUT_PUT_PATH_LST.keys():
        try:
            row_list = make_action_file(search_date, server_id)
            los = Los_Class(search_date, 'tables', 'MAX_WILL')
            los.save_one_server(row_list, server_id)
        except:
            pass
Ejemplo n.º 3
0
def start(search_date):
    """
    满额返利
    """
    O, OUT_PUT_PATH_LST = get_parse_path(search_date)
    for server_id in OUT_PUT_PATH_LST.keys():
        try:
            row_list = make_action_file(search_date,server_id)
            los = Los_Class(search_date,'tables','MAX_WILL')
            los.save_one_server(row_list,server_id)
        except:
            pass
Ejemplo n.º 4
0
def start(search_date):
    """
        消费排行
    """
    print(search_date)
    los = Los_Class(search_date,'tables','EXPENSE_SORT')

    for server_id in get_server_id_lst():
        try:
            list_row_to_be_return = make_action_file(search_date,server_id)
            los.save_one_server(list_row_to_be_return,server_id)
        except:
            pass
Ejemplo n.º 5
0
def start_parse(split_date):
    """
        获取并拆分一天的日志
    """
    LOCAL_LOG_PATH_NAME_LST, OUT_PUT_PATH_LST = get_parse_path(split_date)
    los = Los_Class(split_date, 'tables', 'USER_FIRST_DAY_KEEP_PLAY')
    for _server_id in OUT_PUT_PATH_LST.keys():
        try:

            list_row_to_be_return = make_file(split_date, _server_id)
            los.save_one_server(list_row_to_be_return, _server_id)
        except:
            pass
def start_parse(split_date):
    """
        获取并拆分一天的日志
    """
    LOCAL_LOG_PATH_NAME_LST, OUT_PUT_PATH_LST = get_parse_path(split_date)
    los = Los_Class(split_date, "tables", "USER_FIRST_DAY_KEEP_PLAY")
    for _server_id in OUT_PUT_PATH_LST.keys():
        try:

            list_row_to_be_return = make_file(split_date, _server_id)
            los.save_one_server(list_row_to_be_return, _server_id)
        except:
            pass
Ejemplo n.º 7
0
def start(search_date):
    """
    满额返利
    """
    global all_dict
    O, OUT_PUT_PATH_LST = get_parse_path(search_date)
    for server_id in OUT_PUT_PATH_LST.keys():
        try:
            all_dict = {}
            row_list = make_action_file(search_date,server_id)
            los = Los_Class(search_date,'tables','GIVE_ME_GIVE_YOU')
            los.save_one_server(row_list,server_id)
        except:
            pass
Ejemplo n.º 8
0
def start(search_date):
    """
    满额返利
    """
    global all_dict
    O, OUT_PUT_PATH_LST = get_parse_path(search_date)
    for server_id in OUT_PUT_PATH_LST.keys():
        try:
            all_dict = {}
            row_list = make_action_file(search_date, server_id)
            los = Los_Class(search_date, 'tables', 'GIVE_ME_GIVE_YOU')
            los.save_one_server(row_list, server_id)
        except:
            pass
Ejemplo n.º 9
0
def start(search_date):
    """
    微信分享
    """
    O, OUT_PUT_PATH_LST = get_parse_path(search_date)
    for server_id in OUT_PUT_PATH_LST.keys():
        try:
            row_list = make_action_file(search_date, server_id)
            print server_id
            print row_list
            los = Los_Class(search_date, 'tables', 'WEI_CHAT_SHARE')
            los.save_one_server(row_list, server_id)
        except:
            pass
Ejemplo n.º 10
0
def start(search_date):
    """
    微信分享
    """
    O, OUT_PUT_PATH_LST = get_parse_path(search_date)
    for server_id in OUT_PUT_PATH_LST.keys():
        try:
            row_list = make_action_file(search_date,server_id)
            print server_id
            print row_list
            los = Los_Class(search_date,'tables','WEI_CHAT_SHARE')
            los.save_one_server(row_list,server_id)
        except:
            pass
Ejemplo n.º 11
0
def start(search_date):
    """
    充值排行
    """


    LOCAL_LOG_PATH_NAME_LST, OUT_PUT_PATH_LST = get_parse_path(search_date)

    print(search_date)
    for server_id in OUT_PUT_PATH_LST.keys():

        try:

            list_row_to_be_return = make_action_file(search_date,server_id)
            los = Los_Class(search_date,'tables','SORT_RMB')
            los.save_one_server(list_row_to_be_return,server_id)
        except:
            pass