Commit f594dc94 authored by yangchenglin's avatar yangchenglin

fix

parent ef142bd0
......@@ -66,8 +66,8 @@ class ReplyCreate(APIView):
class ReplyVote(APIView):
def post(self, request):
reply_id = request.POST.get('reply_id')
vote_num = request.POST.get('vote_num')
reply_id = int(request.POST.get('reply_id'))
vote_num = int(request.POST.get('vote_num'))
try:
self.rpc['venus/sun/reply/vote'](reply_id=reply_id, vote_num=vote_num).unwrap()
......
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