Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
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
physical
Commits
6a2883be
Commit
6a2883be
authored
5 years ago
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
d385bd59
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
trans2es_mapping2es.py
trans2es/management/commands/trans2es_mapping2es.py
+6
-0
principal_offline_comment1.py
vest/pictorial/principal_offline_comment1.py
+1
-1
principal_online_comment1.py
vest/pictorial/principal_online_comment1.py
+1
-2
No files found.
trans2es/management/commands/trans2es_mapping2es.py
View file @
6a2883be
...
...
@@ -15,6 +15,7 @@ from vest.fix import fix_no_comment_click
from
vest.reply_answer
import
reply_comment2
,
reply_comment3
,
answer_reply2
,
answer_reply3
,
answer_reply1
from
vest.request
import
get_session
,
auto_user_id
from
vest.vest_majiauser
import
vest_click_reply
from
vest.pictorial
import
principal_offline_comment1
,
principal_online_comment1
class
Command
(
BaseCommand
):
...
...
@@ -131,6 +132,11 @@ class Command(BaseCommand):
if
options
[
"mvest"
]
==
"vest_click_reply"
:
vest_click_reply
.
vest_click_reply
()
# 榜单评论
if
options
[
"mvest"
]
==
"principal_offline_comment1"
:
principal_offline_comment1
.
principal_offline_comment1
()
if
options
[
"mvest"
]
==
"principal_online_comment1"
:
principal_online_comment1
.
principal_online_comment1
()
except
:
...
...
This diff is collapsed.
Click to expand it.
vest/pictorial/principal_offline_comment1.py
View file @
6a2883be
...
...
@@ -28,7 +28,7 @@ def get_data():
return
[]
if
__name__
==
"__main__"
:
def
principal_offline_comment1
()
:
try
:
logging
.
info
(
"comment offline pictorial"
)
...
...
This diff is collapsed.
Click to expand it.
vest/pictorial/principal_online_comment1.py
View file @
6a2883be
...
...
@@ -56,8 +56,7 @@ def get_data(numtime1, numtime2):
return
[]
if
__name__
==
"__main__"
:
def
principal_online_comment1
():
try
:
logging
.
info
(
"comment offline pictorial"
)
numtime1
,
numtime2
,
minute
=
time_conv_minute
(
30
,
0
)
...
...
This diff is collapsed.
Click to expand it.
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