Commit 8e529bb3 authored by lixiaofang's avatar lixiaofang

cookies

parent 4a92fe97
...@@ -325,9 +325,9 @@ ...@@ -325,9 +325,9 @@
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds" extendedState="1">
<option name="x" value="82" /> <option name="x" value="660" />
<option name="y" value="28" /> <option name="y" value="144" />
<option name="width" value="1436" /> <option name="width" value="1436" />
<option name="height" value="656" /> <option name="height" value="656" />
</component> </component>
......
...@@ -111,7 +111,7 @@ def get_data(numtime): ...@@ -111,7 +111,7 @@ def get_data(numtime):
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123', db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
db="alpha", port=3306) db="alpha", port=3306)
cursor = db.cursor() cursor = db.cursor()
cursor.execute("select user_id from account_user_auth where user_id not in (select user_id from pv_maidian where page_name='home' and partiton_date >= %s " ,(numtime)) cursor.execute("select user_id from account_user_auth where user_id not in (select user_id from pv_maidian where partiton_date >= %s " ,(numtime))
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data) user_id = list(data)
logging.info("Database version : %s " % user_id) logging.info("Database version : %s " % user_id)
......
...@@ -99,7 +99,7 @@ def get_data(numtime): ...@@ -99,7 +99,7 @@ def get_data(numtime):
db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123', db = pymysql.connect(host="rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com", user='work', passwd='Gengmei123',
db="alpha", port=3306) db="alpha", port=3306)
cursor = db.cursor() cursor = db.cursor()
cursor.execute("select user_id from account_user_auth where user_id not in (select user_id from pv_maidian where page_name='home' and partiton_date >= %s ", (numtime)) cursor.execute("select user_id from account_user_auth where user_id not in (select user_id from pv_maidian where partiton_date >= %s ", (numtime))
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data) user_id = list(data)
logging.info("Database version : %s " % user_id) logging.info("Database version : %s " % user_id)
......
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