Commit 2854543d authored by 张彦钊's avatar 张彦钊

修改点击率计算

parents efee8042 f43ff7ee
......@@ -18,7 +18,7 @@ def get_yesterday_date():
#today = datetime.date.today().strftime("%Y%m%d")
#return today
date = get_yesterday_date()
def get_data():
conn2db = pymysql.connect(host='10.66.157.22', port=4000, user='root', passwd='3SYz54LS9#^9sBvC', db='eagle')
cursor = conn2db.cursor()
......@@ -48,4 +48,6 @@ def ctr():
if __name__ == "__main__":
ctr()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment