Commit 95cbdda7 authored by 王浩's avatar 王浩

Merge branch 'haow/new' into 'master'

fix code

See merge request alpha/saturn!34
parents 92953445 01bdb053
......@@ -23,7 +23,7 @@ class CreateTopicForBatch(BaseView):
card_level = request.POST.get("card_level", 0)
tag_id = request.POST.get("tag_id")
is_online = request.POST.get("is_online", 0)
platform = request.POST.get("platform")
platform = int(request.POST.get("platform"))
topic_list = json.loads(request.POST.get("topic_list", '[]'))
if not user_id:
......@@ -82,8 +82,6 @@ class CreateTopicForBatch(BaseView):
item["platform_id"] = _id
topic_list.append(item)
not_exists_ids.append(_id)
else:
topic_list = topics
# check_info = Sensitive.check(tag_names)
# tags = [tag_name for tag_name, succ in check_info.items() if not succ]
......
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