Commit 8737f61d authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix' into 'test'

add vote

See merge request !332
parents 1af8141e 43ab1d73
......@@ -72,7 +72,7 @@ class ReplyVote(APIView):
vote_num = int(request.POST.get('vote_num'))
try:
self.rpc['venus/sun/reply/vote'](reply_id=reply_id, vote_num=vote_num).unwrap()
self.rpc['venus/sun/reply/vote'](reply_id=reply_id, virtual_vote_num=vote_num).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