Commit cd44c708 authored by 许俊鹏's avatar 许俊鹏

恢复误删代码

parent 3ef3f19f
......@@ -124,7 +124,7 @@ class TopicListBatchUpdate(APIView):
updates = self.handle_filter(request.POST.get('updates', "{}"))
extra = json.loads(request.POST.get('extra', '{}'))
try:
self.rpc['venus/sun/topic/batch/update'](updates=updates, ids=ids).unwrap()
self.rpc['venus/sun/topic/batch/update'](updates=updates, ids=ids, extra=extra).unwrap()
except Exception as e:
error_logger.error(u'批量更新帖子失败%s', e)
raise
......
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