Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cybertron
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
cybertron
Commits
38e1ae3b
Commit
38e1ae3b
authored
Aug 08, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
a5821382
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
38 deletions
+28
-38
workspace.xml
.idea/workspace.xml
+28
-29
answer_reply2.py
answer_reply2.py
+0
-2
answer_reply3.py
answer_reply3.py
+0
-1
auto_comment1.py
auto_comment1.py
+0
-1
auto_comment2.py
auto_comment2.py
+0
-1
auto_comment3.py
auto_comment3.py
+0
-1
auto_user_id.py
auto_user_id.py
+0
-2
test.py
test.py
+0
-1
~$评论500条.xlsx
~$评论500条.xlsx
+0
-0
No files found.
.idea/workspace.xml
View file @
38e1ae3b
...
...
@@ -2,11 +2,8 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<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$/
auto_request.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_request.py"
after
Dir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
~$评论500条.xlsx"
before
Dir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -45,21 +42,22 @@
</usages-collector>
<usages-collector
id=
"statistics.lifecycle.project"
>
<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.2"
value=
"1"
/>
<entry
key=
"project.opened"
value=
"2"
/>
<entry
key=
"project.open.time.3"
value=
"1"
/>
<entry
key=
"project.opened"
value=
"3"
/>
</counts>
</usages-collector>
</session>
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
304
"
>
<caret
line=
"1
90"
column=
"4"
selection-start-line=
"190"
selection-start-column=
"4"
selection-end-line=
"190"
selection-end-column=
"4
"
/>
<state
relative-caret-position=
"
181
"
>
<caret
line=
"1
62"
column=
"19"
selection-start-line=
"162"
selection-start-column=
"4"
selection-end-line=
"162"
selection-end-column=
"19
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<marker
date=
"1565059617000"
expanded=
"true"
signature=
"6010:6330"
ph=
"..."
/>
...
...
@@ -71,8 +69,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/principal_online_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-11
"
>
<caret
line=
"15"
lean-forward=
"true"
selection-start-line=
"15"
selection-end-line=
"15"
/>
<state
relative-caret-position=
"
225
"
>
<caret
line=
"15"
selection-start-line=
"15"
selection-end-line=
"15"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
...
...
@@ -80,11 +78,11 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/principal_offline_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
3
30"
>
<caret
line=
"
22"
column=
"57"
selection-start-line=
"22"
selection-start-column=
"57"
selection-end-line=
"22"
selection-end-column=
"57
"
/>
<state
relative-caret-position=
"
6
30"
>
<caret
line=
"
42"
column=
"28"
selection-start-line=
"42"
selection-start-column=
"28"
selection-end-line=
"42"
selection-end-column=
"28
"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
...
...
@@ -146,17 +144,18 @@
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"x"
value=
"-
323
"
/>
<option
name=
"y"
value=
"
-1080
"
/>
<option
name=
"width"
value=
"1
92
0"
/>
<option
name=
"height"
value=
"
1080
"
/>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"-
29
"
/>
<option
name=
"y"
value=
"
23
"
/>
<option
name=
"width"
value=
"1
28
0"
/>
<option
name=
"height"
value=
"
727
"
/>
</component>
<component
name=
"ProjectView"
>
<navigator
proportions=
""
version=
"1"
>
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
...
...
@@ -168,7 +167,6 @@
<select
/>
</subPane>
</pane>
<pane
id=
"Scope"
/>
</panes>
</component>
<component
name=
"RecentsManager"
>
...
...
@@ -226,11 +224,12 @@
<servers
/>
</component>
<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>
<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
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.20
64244
3"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.20
57188
3"
/>
<window_info
id=
"DB Browser"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3284974"
/>
...
...
@@ -240,7 +239,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"
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=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
...
@@ -541,8 +540,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
304
"
>
<caret
line=
"1
90"
column=
"4"
selection-start-line=
"190"
selection-start-column=
"4"
selection-end-line=
"190"
selection-end-column=
"4
"
/>
<state
relative-caret-position=
"
181
"
>
<caret
line=
"1
62"
column=
"19"
selection-start-line=
"162"
selection-start-column=
"4"
selection-end-line=
"162"
selection-end-column=
"19
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<marker
date=
"1565059617000"
expanded=
"true"
signature=
"6010:6330"
ph=
"..."
/>
...
...
@@ -552,8 +551,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/principal_online_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-11
"
>
<caret
line=
"15"
lean-forward=
"true"
selection-start-line=
"15"
selection-end-line=
"15"
/>
<state
relative-caret-position=
"
225
"
>
<caret
line=
"15"
selection-start-line=
"15"
selection-end-line=
"15"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
...
...
@@ -562,8 +561,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/principal_offline_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
3
30"
>
<caret
line=
"
22"
column=
"57"
selection-start-line=
"22"
selection-start-column=
"57"
selection-end-line=
"22"
selection-end-column=
"57
"
/>
<state
relative-caret-position=
"
6
30"
>
<caret
line=
"
42"
column=
"28"
selection-start-line=
"42"
selection-start-column=
"28"
selection-end-line=
"42"
selection-end-column=
"28
"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
...
...
answer_reply2.py
View file @
38e1ae3b
...
...
@@ -23,8 +23,6 @@ def get_data(numtime, numtime2):
cursor
.
execute
(
"select user_id from user_extra where user_id ="
+
str
(
i
[
0
])
+
" and is_shadow =0"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
print
(
user_id
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
...
...
answer_reply3.py
View file @
38e1ae3b
...
...
@@ -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"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
print
(
user_id
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
...
...
auto_comment1.py
View file @
38e1ae3b
...
...
@@ -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"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
print
(
user_id
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
...
...
auto_comment2.py
View file @
38e1ae3b
...
...
@@ -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"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
print
(
user_id
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
...
...
auto_comment3.py
View file @
38e1ae3b
...
...
@@ -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"
)
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
print
(
user_id
)
if
user_id
:
topic_id_list
.
append
(
i
)
logging
.
info
(
"Database version :
%
s "
%
topic_id_list
)
...
...
auto_user_id.py
View file @
38e1ae3b
...
...
@@ -21,7 +21,6 @@ def get_data():
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
if
len
(
user_id
):
print
(
user_id
)
user_id_list
.
append
(
user_id
[
0
])
else
:
pass
...
...
@@ -33,7 +32,6 @@ def get_data():
data
=
get_data
()
print
(
data
)
file
=
open
(
"/data/log/cybertron/app/user_id.txt"
,
"w"
)
if
data
:
...
...
test.py
View file @
38e1ae3b
...
...
@@ -37,7 +37,6 @@ def get_cook():
cookies
=
cookies
)
headers
=
response
.
headers
print
(
response
.
text
)
cook
=
headers
[
'Set-Cookie'
]
.
split
(
";"
)
cook
=
cook
[
0
]
.
split
(
'='
)[
1
]
logging
.
info
(
"response.text :
%
s"
%
response
.
text
)
...
...
~$评论500条.xlsx
deleted
100644 → 0
View file @
a5821382
File deleted
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment