Commit 7344a9dc authored by 王浩's avatar 王浩

fix card level add default

parent c563650e
......@@ -13,7 +13,7 @@ class CreateTopicForBatch(BaseView):
def post(self, request):
user_id = request.POST.get("user_id", 0)
card_level = request.POST.get("card_level")
card_level = request.POST.get("card_level", 0)
tag_id = request.POST.get("tag_id")
is_online = request.POST.get("is_online", 0)
topic_list = json.loads(request.POST.get("topic_list", '[]'))
......
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