Commit c7a64803 authored by 王浩's avatar 王浩

Merge branch 'test' into 'haow/pin_crawl'

# Conflicts:
#   api/views/topic.py
parents 554e53e7 eef6be89
......@@ -199,12 +199,11 @@ class CreateTopicForBatchByOne(BaseView):
# check_info = Sensitive.check(tag_names)
# tags = [tag_name for tag_name, succ in check_info.items() if not succ]
# check_info = Sensitive.check(tag_names)
tags = [{"name": item} for item in tag_names]
# 先创建标签
_tag_error, _tag_data = self.call_rpc(
"venus/community/tag/batch_create_tag_by_name",
tags=tags
tags=tag_names
)
if _tag_error:
return self.error(_tag_error)
......
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