Commit f9e807a5 authored by haowang's avatar haowang

Merge branch 'master' of http://git.wanmeizhensuo.com/alpha/saturn into haow/pin_crawl

parents 5fe8ae22 056fca26
......@@ -223,12 +223,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