Commit 40900766 authored by lixiaofang's avatar lixiaofang

add

parent 93f2f92c
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="fd1f0b61-1139-44e5-87e7-f8b86ff52376" name="Default Changelist" comment="" />
<list default="true" id="fd1f0b61-1139-44e5-87e7-f8b86ff52376" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/offline_comment.py" beforeDir="false" afterPath="$PROJECT_DIR$/offline_comment.py" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -40,14 +42,14 @@
<entry key="comment" value="59" />
<entry key="dummy" value="6" />
<entry key="guanshui" value="2" />
<entry key="py" value="3802" />
<entry key="py" value="3851" />
<entry key="xuqiu" value="223" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="PLAIN_TEXT" value="290" />
<entry key="Python" value="3802" />
<entry key="Python" value="3851" />
</counts>
</usages-collector>
</session>
......@@ -142,11 +144,11 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/offline_comment.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="87">
<caret line="53" column="22" selection-start-line="53" selection-start-column="22" selection-end-line="53" selection-end-column="35" />
<state relative-caret-position="-242">
<caret line="33" lean-forward="true" selection-start-line="33" selection-end-line="33" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<marker date="1555665196000" expanded="true" signature="1855:2008" ph="..." />
<marker date="1555665572000" expanded="true" signature="1993:1996" ph="..." />
</folding>
</state>
</provider>
......@@ -509,7 +511,7 @@
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<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.3295082" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.0" />
<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="DB Execution Console" order="11" />
......@@ -928,11 +930,11 @@
</entry>
<entry file="file://$PROJECT_DIR$/offline_comment.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="87">
<caret line="53" column="22" selection-start-line="53" selection-start-column="22" selection-end-line="53" selection-end-column="35" />
<state relative-caret-position="-242">
<caret line="33" lean-forward="true" selection-start-line="33" selection-end-line="33" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<marker date="1555665196000" expanded="true" signature="1855:2008" ph="..." />
<marker date="1555665572000" expanded="true" signature="1993:1996" ph="..." />
</folding>
</state>
</provider>
......
......@@ -21,6 +21,16 @@ auto_reply_url = "http://47.93.162.11:8085/api/v1/reply/create_for_inner"
#
# 注意需要禁止本帖作者评论
def get_user_id():
user_data = open("user_id.txt", "r")
user_list = []
for i in user_data.readlines():
user_list.append(i.strip())
return user_list
def reply(id, content, user_id):
try:
......@@ -70,15 +80,6 @@ def get_data(num1, num2):
return None
def get_user_id():
user_data = open("user_id.txt", "r")
user_list = []
for i in user_data.readlines():
user_list.append(i)
return user_list
if __name__ == "__main__":
......
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