Commit 38e1ae3b authored by lixiaofang's avatar lixiaofang

add

parent a5821382
...@@ -2,11 +2,8 @@ ...@@ -2,11 +2,8 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="7b835479-ee84-40d6-9b97-0e9285d92119" name="Default Changelist" comment=""> <list default="true" id="7b835479-ee84-40d6-9b97-0e9285d92119" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/pictorial_reply_data.txt" afterDir="false" />
<change afterPath="$PROJECT_DIR$/principal_offline_comment1.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/principal_online_comment1.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/auto_request.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_request.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/~$评论500条.xlsx" beforeDir="false" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
...@@ -45,21 +42,22 @@ ...@@ -45,21 +42,22 @@
</usages-collector> </usages-collector>
<usages-collector id="statistics.lifecycle.project"> <usages-collector id="statistics.lifecycle.project">
<counts> <counts>
<entry key="project.closed" value="3" /> <entry key="project.closed" value="4" />
<entry key="project.open.time.17" value="1" /> <entry key="project.open.time.17" value="1" />
<entry key="project.open.time.2" value="1" /> <entry key="project.open.time.2" value="1" />
<entry key="project.opened" value="2" /> <entry key="project.open.time.3" value="1" />
<entry key="project.opened" value="3" />
</counts> </counts>
</usages-collector> </usages-collector>
</session> </session>
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/auto_request.py"> <entry file="file://$PROJECT_DIR$/auto_request.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="304"> <state relative-caret-position="181">
<caret line="190" column="4" selection-start-line="190" selection-start-column="4" selection-end-line="190" selection-end-column="4" /> <caret line="162" column="19" selection-start-line="162" selection-start-column="4" selection-end-line="162" selection-end-column="19" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<marker date="1565059617000" expanded="true" signature="6010:6330" ph="..." /> <marker date="1565059617000" expanded="true" signature="6010:6330" ph="..." />
...@@ -71,8 +69,8 @@ ...@@ -71,8 +69,8 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/principal_online_comment1.py"> <entry file="file://$PROJECT_DIR$/principal_online_comment1.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-11"> <state relative-caret-position="225">
<caret line="15" lean-forward="true" selection-start-line="15" selection-end-line="15" /> <caret line="15" selection-start-line="15" selection-end-line="15" />
<folding> <folding>
<element signature="e#0#14#0" expanded="true" /> <element signature="e#0#14#0" expanded="true" />
</folding> </folding>
...@@ -80,11 +78,11 @@ ...@@ -80,11 +78,11 @@
</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$/principal_offline_comment1.py"> <entry file="file://$PROJECT_DIR$/principal_offline_comment1.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330"> <state relative-caret-position="630">
<caret line="22" column="57" selection-start-line="22" selection-start-column="57" selection-end-line="22" selection-end-column="57" /> <caret line="42" column="28" selection-start-line="42" selection-start-column="28" selection-end-line="42" selection-end-column="28" />
<folding> <folding>
<element signature="e#0#14#0" expanded="true" /> <element signature="e#0#14#0" expanded="true" />
</folding> </folding>
...@@ -146,17 +144,18 @@ ...@@ -146,17 +144,18 @@
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectFrameBounds" extendedState="6"> <component name="ProjectFrameBounds">
<option name="x" value="-323" /> <option name="x" value="-29" />
<option name="y" value="-1080" /> <option name="y" value="23" />
<option name="width" value="1920" /> <option name="width" value="1280" />
<option name="height" value="1080" /> <option name="height" value="727" />
</component> </component>
<component name="ProjectView"> <component name="ProjectView">
<navigator proportions="" version="1"> <navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="Scope" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
...@@ -168,7 +167,6 @@ ...@@ -168,7 +167,6 @@
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="Scope" />
</panes> </panes>
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
...@@ -226,11 +224,12 @@ ...@@ -226,11 +224,12 @@
<servers /> <servers />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-323" y="-1080" width="1920" height="1080" extended-state="6" /> <frame x="-29" y="23" width="1280" height="727" extended-state="0" />
<editor active="true" />
<layout> <layout>
<window_info id="Structure" order="0" sideWeight="0.21188119" side_tool="true" weight="0.19112115" /> <window_info id="Structure" order="0" sideWeight="0.21188119" side_tool="true" weight="0.19112115" />
<window_info id="Favorites" order="1" side_tool="true" /> <window_info id="Favorites" order="1" side_tool="true" />
<window_info content_ui="combo" id="Project" order="2" sideWeight="0.7872763" visible="true" weight="0.20642443" /> <window_info content_ui="combo" id="Project" order="2" sideWeight="0.7872763" visible="true" weight="0.20571883" />
<window_info id="DB Browser" order="3" /> <window_info id="DB Browser" order="3" />
<window_info anchor="bottom" id="Message" order="0" /> <window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" weight="0.3284974" /> <window_info anchor="bottom" id="Find" order="1" weight="0.3284974" />
...@@ -240,7 +239,7 @@ ...@@ -240,7 +239,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" sideWeight="0.49960285" visible="true" weight="0.4984456" /> <window_info active="true" anchor="bottom" id="Terminal" order="8" sideWeight="0.49960285" visible="true" weight="0.024509804" />
<window_info anchor="bottom" id="Event Log" order="9" sideWeight="0.50039715" side_tool="true" weight="0.32890365" /> <window_info anchor="bottom" id="Event Log" order="9" sideWeight="0.50039715" side_tool="true" weight="0.32890365" />
<window_info anchor="bottom" id="Python Console" order="10" /> <window_info anchor="bottom" id="Python Console" order="10" />
<window_info anchor="bottom" id="DB Execution Console" order="11" /> <window_info anchor="bottom" id="DB Execution Console" order="11" />
...@@ -541,8 +540,8 @@ ...@@ -541,8 +540,8 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_request.py"> <entry file="file://$PROJECT_DIR$/auto_request.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="304"> <state relative-caret-position="181">
<caret line="190" column="4" selection-start-line="190" selection-start-column="4" selection-end-line="190" selection-end-column="4" /> <caret line="162" column="19" selection-start-line="162" selection-start-column="4" selection-end-line="162" selection-end-column="19" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
<marker date="1565059617000" expanded="true" signature="6010:6330" ph="..." /> <marker date="1565059617000" expanded="true" signature="6010:6330" ph="..." />
...@@ -552,8 +551,8 @@ ...@@ -552,8 +551,8 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/principal_online_comment1.py"> <entry file="file://$PROJECT_DIR$/principal_online_comment1.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-11"> <state relative-caret-position="225">
<caret line="15" lean-forward="true" selection-start-line="15" selection-end-line="15" /> <caret line="15" selection-start-line="15" selection-end-line="15" />
<folding> <folding>
<element signature="e#0#14#0" expanded="true" /> <element signature="e#0#14#0" expanded="true" />
</folding> </folding>
...@@ -562,8 +561,8 @@ ...@@ -562,8 +561,8 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/principal_offline_comment1.py"> <entry file="file://$PROJECT_DIR$/principal_offline_comment1.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330"> <state relative-caret-position="630">
<caret line="22" column="57" selection-start-line="22" selection-start-column="57" selection-end-line="22" selection-end-column="57" /> <caret line="42" column="28" selection-start-line="42" selection-start-column="28" selection-end-line="42" selection-end-column="28" />
<folding> <folding>
<element signature="e#0#14#0" expanded="true" /> <element signature="e#0#14#0" expanded="true" />
</folding> </folding>
......
...@@ -23,8 +23,6 @@ def get_data(numtime, numtime2): ...@@ -23,8 +23,6 @@ def get_data(numtime, numtime2):
cursor.execute( cursor.execute(
"select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0") "select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0")
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data)
print(user_id)
if user_id: if user_id:
topic_id_list.append(i) topic_id_list.append(i)
logging.info("Database version : %s " % topic_id_list) logging.info("Database version : %s " % topic_id_list)
......
...@@ -24,7 +24,6 @@ def get_data(numtime, numtime2): ...@@ -24,7 +24,6 @@ def get_data(numtime, numtime2):
"select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0") "select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0")
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data) user_id = list(data)
print(user_id)
if user_id: if user_id:
topic_id_list.append(i) topic_id_list.append(i)
logging.info("Database version : %s " % topic_id_list) logging.info("Database version : %s " % topic_id_list)
......
...@@ -24,7 +24,6 @@ def get_data(numtime, numtime2): ...@@ -24,7 +24,6 @@ def get_data(numtime, numtime2):
"select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0") "select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0")
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data) user_id = list(data)
print(user_id)
if user_id: if user_id:
topic_id_list.append(i) topic_id_list.append(i)
logging.info("Database version : %s " % topic_id_list) logging.info("Database version : %s " % topic_id_list)
......
...@@ -25,7 +25,6 @@ def get_data(numtime, numtime2): ...@@ -25,7 +25,6 @@ def get_data(numtime, numtime2):
"select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0") "select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0")
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data) user_id = list(data)
print(user_id)
if user_id: if user_id:
topic_id_list.append(i) topic_id_list.append(i)
logging.info("Database version : %s " % topic_id_list) logging.info("Database version : %s " % topic_id_list)
......
...@@ -25,7 +25,6 @@ def get_data(numtime, numtime2): ...@@ -25,7 +25,6 @@ def get_data(numtime, numtime2):
"select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0") "select user_id from user_extra where user_id =" + str(i[0]) + " and is_shadow =0")
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data) user_id = list(data)
print(user_id)
if user_id: if user_id:
topic_id_list.append(i) topic_id_list.append(i)
logging.info("Database version : %s " % topic_id_list) logging.info("Database version : %s " % topic_id_list)
......
...@@ -21,7 +21,6 @@ def get_data(): ...@@ -21,7 +21,6 @@ def get_data():
data = cursor.fetchall() data = cursor.fetchall()
user_id = list(data) user_id = list(data)
if len(user_id): if len(user_id):
print(user_id)
user_id_list.append(user_id[0]) user_id_list.append(user_id[0])
else: else:
pass pass
...@@ -33,7 +32,6 @@ def get_data(): ...@@ -33,7 +32,6 @@ def get_data():
data = get_data() data = get_data()
print(data)
file = open("/data/log/cybertron/app/user_id.txt", "w") file = open("/data/log/cybertron/app/user_id.txt", "w")
if data: if data:
......
...@@ -37,7 +37,6 @@ def get_cook(): ...@@ -37,7 +37,6 @@ def get_cook():
cookies=cookies cookies=cookies
) )
headers = response.headers headers = response.headers
print(response.text)
cook = headers['Set-Cookie'].split(";") cook = headers['Set-Cookie'].split(";")
cook = cook[0].split('=')[1] cook = cook[0].split('=')[1]
logging.info("response.text :%s" % response.text) logging.info("response.text :%s" % response.text)
......
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