Commit 6a2883be authored by lixiaofang's avatar lixiaofang

add

parent d385bd59
...@@ -15,6 +15,7 @@ from vest.fix import fix_no_comment_click ...@@ -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.reply_answer import reply_comment2, reply_comment3, answer_reply2, answer_reply3, answer_reply1
from vest.request import get_session, auto_user_id from vest.request import get_session, auto_user_id
from vest.vest_majiauser import vest_click_reply from vest.vest_majiauser import vest_click_reply
from vest.pictorial import principal_offline_comment1, principal_online_comment1
class Command(BaseCommand): class Command(BaseCommand):
...@@ -131,6 +132,11 @@ class Command(BaseCommand): ...@@ -131,6 +132,11 @@ class Command(BaseCommand):
if options["mvest"] == "vest_click_reply": if options["mvest"] == "vest_click_reply":
vest_click_reply.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: except:
......
...@@ -28,7 +28,7 @@ def get_data(): ...@@ -28,7 +28,7 @@ def get_data():
return [] return []
if __name__ == "__main__": def principal_offline_comment1():
try: try:
logging.info("comment offline pictorial") logging.info("comment offline pictorial")
......
...@@ -56,8 +56,7 @@ def get_data(numtime1, numtime2): ...@@ -56,8 +56,7 @@ def get_data(numtime1, numtime2):
return [] return []
if __name__ == "__main__": def principal_online_comment1():
try: try:
logging.info("comment offline pictorial") logging.info("comment offline pictorial")
numtime1, numtime2, minute = time_conv_minute(30, 0) numtime1, numtime2, minute = time_conv_minute(30, 0)
......
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