Commit 7183d859 authored by litaolemo's avatar litaolemo

update

parent 4fb23432
......@@ -142,7 +142,7 @@ for pid in pid_list:
video_dic["platform_question_id"] = pid
video_dic["content"] = desc_fix
video_dic["user_id"] = random.choice(user_id_list_copy)
rpc_res = post_single_data(video_dic, "cims/answer/batch_create")
rpc_res = post_single_data(copy.deepcopy(video_dic), "cims/answer/batch_create")
for comment in res_json["NoteView"]["commentInfo"]["comments"]:
video_dic["content"] = comment['content']
comment_id_list_copy = copy.deepcopy(majiayonghu_list)
......@@ -150,5 +150,5 @@ for pid in pid_list:
video_dic["user_id"] = comment_id
comment_id_list_copy.remove(comment_id)
video_dic["create_time"] = (create_time + datetime.timedelta(hours=random.randint(0,24),minutes=random.randint(0,60))).timestamp()
rpc_res = post_single_data(video_dic, "cims/reply/batch_create")
rpc_res = post_single_data(copy.deepcopy(video_dic), "cims/reply/batch_create")
break
\ No newline at end of file
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