Commit ea2b8254 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix_dev' into 'dev'

fix

See merge request alpha/sun!284
parents 1c4922c8 f594dc94
......@@ -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