match_all_sql="""select count(id) as nums from api_tractate where create_time >= '{time}' and platform = {platfrom}""".format(time=str(start_date),platfrom=platform_id)
cur_mimas.execute(match_all_sql)
data=cur_mimas.fetchall()
match_all_num=data[0][0]
# print(match_all_num)
oneline_sql="""select count(id) as nums from api_tractate where create_time >= '{time}' and is_online = 1 and platform = {platfrom}""".format(time=str(start_date),platfrom=platform_id)