Commit 4a92fe97 authored by lixiaofang's avatar lixiaofang

cookies

parent 7b2674fa
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<entry key="cuigeng" value="1" /> <entry key="cuigeng" value="1" />
<entry key="data" value="12" /> <entry key="data" value="12" />
<entry key="dummy" value="37" /> <entry key="dummy" value="37" />
<entry key="py" value="8447" /> <entry key="py" value="8460" />
<entry key="unr_data" value="1" /> <entry key="unr_data" value="1" />
<entry key="xuqiu" value="1" /> <entry key="xuqiu" value="1" />
</counts> </counts>
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<usages-collector id="statistics.file.types.edit"> <usages-collector id="statistics.file.types.edit">
<counts> <counts>
<entry key="PLAIN_TEXT" value="183" /> <entry key="PLAIN_TEXT" value="183" />
<entry key="Python" value="8447" /> <entry key="Python" value="8460" />
</counts> </counts>
</usages-collector> </usages-collector>
</session> </session>
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_click_n.py"> <entry file="file://$PROJECT_DIR$/auto_click_n.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="489"> <state relative-caret-position="384">
<caret line="123" selection-start-line="123" selection-end-line="123" /> <caret line="123" selection-start-line="123" selection-end-line="123" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
...@@ -181,11 +181,11 @@ ...@@ -181,11 +181,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/auto_follow_one.py"> <entry file="file://$PROJECT_DIR$/auto_follow_one.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="209"> <state relative-caret-position="141">
<caret line="108" column="22" selection-start-line="108" selection-end-line="121" selection-end-column="19" /> <caret line="113" column="169" selection-start-line="113" selection-start-column="169" selection-end-line="113" selection-end-column="169" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#280#457#0" /> <element signature="e#280#457#0" />
...@@ -193,18 +193,17 @@ ...@@ -193,18 +193,17 @@
<element signature="e#889#1604#0" /> <element signature="e#889#1604#0" />
<element signature="e#1639#2024#0" /> <element signature="e#1639#2024#0" />
<element signature="e#2054#2267#0" /> <element signature="e#2054#2267#0" />
<element signature="e#2296#2885#0" />
<element signature="e#2918#3384#0" /> <element signature="e#2918#3384#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_urge_three.py"> <entry file="file://$PROJECT_DIR$/auto_urge_three.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="130"> <state relative-caret-position="178">
<caret line="138" lean-forward="true" selection-start-line="138" selection-end-line="138" /> <caret line="101" column="170" selection-start-line="101" selection-start-column="170" selection-end-line="101" selection-end-column="170" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#284#461#0" /> <element signature="e#284#461#0" />
...@@ -212,7 +211,6 @@ ...@@ -212,7 +211,6 @@
<element signature="e#892#1599#0" /> <element signature="e#892#1599#0" />
<element signature="e#1633#1993#0" /> <element signature="e#1633#1993#0" />
<element signature="e#2123#2336#0" /> <element signature="e#2123#2336#0" />
<element signature="e#2365#2934#0" />
<element signature="e#2968#3394#0" /> <element signature="e#2968#3394#0" />
<element signature="e#2981#3307#0" /> <element signature="e#2981#3307#0" />
</folding> </folding>
...@@ -323,12 +321,13 @@ ...@@ -323,12 +321,13 @@
<option value="$PROJECT_DIR$/dd.py" /> <option value="$PROJECT_DIR$/dd.py" />
<option value="$PROJECT_DIR$/auto_click_one.py" /> <option value="$PROJECT_DIR$/auto_click_one.py" />
<option value="$PROJECT_DIR$/auto_urge_three.py" /> <option value="$PROJECT_DIR$/auto_urge_three.py" />
<option value="$PROJECT_DIR$/auto_follow_one.py" />
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds">
<option name="x" value="-350" /> <option name="x" value="82" />
<option name="y" value="133" /> <option name="y" value="28" />
<option name="width" value="1436" /> <option name="width" value="1436" />
<option name="height" value="656" /> <option name="height" value="656" />
</component> </component>
...@@ -509,7 +508,7 @@ ...@@ -509,7 +508,7 @@
<servers /> <servers />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="0" y="23" width="1436" height="656" extended-state="0" /> <frame x="82" y="28" width="1436" height="656" extended-state="1" />
<layout> <layout>
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.22685513" /> <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.22685513" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" /> <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
...@@ -522,7 +521,7 @@ ...@@ -522,7 +521,7 @@
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" /> <window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" /> <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.45101663" /> <window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.16820702" />
<window_info anchor="bottom" id="Event Log" order="9" side_tool="true" /> <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
<window_info anchor="bottom" id="Python Console" order="10" /> <window_info anchor="bottom" id="Python Console" order="10" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
...@@ -833,21 +832,6 @@ ...@@ -833,21 +832,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_click_n.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="489">
<caret line="123" selection-start-line="123" selection-end-line="123" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#276#453#0" />
<element signature="e#477#864#0" />
<element signature="e#885#1602#0" />
<element signature="e#1637#2021#0" />
<element signature="e#2051#2264#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/dd.py"> <entry file="file://$PROJECT_DIR$/dd.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-108"> <state relative-caret-position="-108">
...@@ -880,27 +864,25 @@ ...@@ -880,27 +864,25 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_follow_one.py"> <entry file="file://$PROJECT_DIR$/auto_click_n.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="209"> <state relative-caret-position="384">
<caret line="108" column="22" selection-start-line="108" selection-end-line="121" selection-end-column="19" /> <caret line="123" selection-start-line="123" selection-end-line="123" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#280#457#0" /> <element signature="e#276#453#0" />
<element signature="e#481#868#0" /> <element signature="e#477#864#0" />
<element signature="e#889#1604#0" /> <element signature="e#885#1602#0" />
<element signature="e#1639#2024#0" /> <element signature="e#1637#2021#0" />
<element signature="e#2054#2267#0" /> <element signature="e#2051#2264#0" />
<element signature="e#2296#2885#0" />
<element signature="e#2918#3384#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_urge_three.py"> <entry file="file://$PROJECT_DIR$/auto_urge_three.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="130"> <state relative-caret-position="178">
<caret line="138" lean-forward="true" selection-start-line="138" selection-end-line="138" /> <caret line="101" column="170" selection-start-line="101" selection-start-column="170" selection-end-line="101" selection-end-column="170" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<element signature="e#284#461#0" /> <element signature="e#284#461#0" />
...@@ -908,12 +890,27 @@ ...@@ -908,12 +890,27 @@
<element signature="e#892#1599#0" /> <element signature="e#892#1599#0" />
<element signature="e#1633#1993#0" /> <element signature="e#1633#1993#0" />
<element signature="e#2123#2336#0" /> <element signature="e#2123#2336#0" />
<element signature="e#2365#2934#0" />
<element signature="e#2968#3394#0" /> <element signature="e#2968#3394#0" />
<element signature="e#2981#3307#0" /> <element signature="e#2981#3307#0" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_follow_one.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="141">
<caret line="113" column="169" selection-start-line="113" selection-start-column="169" selection-end-line="113" selection-end-column="169" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<element signature="e#280#457#0" />
<element signature="e#481#868#0" />
<element signature="e#889#1604#0" />
<element signature="e#1639#2024#0" />
<element signature="e#2054#2267#0" />
<element signature="e#2918#3384#0" />
</folding>
</state>
</provider>
</entry>
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -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 page_name='home' and 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 page_name='home' and 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