Commit 8001964b authored by 王浩's avatar 王浩

Merge branch 'haow/pin_crawl' into 'test'

fix code

See merge request alpha/saturn!76
parents c25b92d1 c9a3b369
......@@ -124,6 +124,7 @@ class CreateTopicForBatch(BaseView):
# pictorial_name = request.POST.get('pictorial_name', '')
# pictorial_alias = request.POST.get('pictorial_alias', '')
pictorial_tag_ids = json.loads(request.POST.get("tag_ids", '[]'))
pictorial_url = request.POST.get("pictorial_url", '')
is_app = request.POST.get('is_app', None)
......@@ -212,6 +213,7 @@ class CreateTopicForBatch(BaseView):
create_err, result = self.call_rpc(
"venus/community/topic/batch_create_for_inner",
topic_list=topic_list, pictorial_tag_ids=pictorial_tag_ids, pictorial_name=pictorial_name, pictorial_alias=pictorial_alias,
pictorial_url=pictorial_url
)
if create_err:
return self.error(create_err)
......
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