Commit 0b99b3b6 authored by haowang's avatar haowang

fix code

parent bd45a607
......@@ -61,7 +61,7 @@ class ReplyListView(APIView):
filters['create_time__lte'] = to_create_time
try:
data = self.rpc['venus/sun/manage/reply/list'](offset=(page-1) * limit, limit=limit, filters=filters, other_filters=other_filters).unwrap()
data = self.rpc['venus/sun/reply/manage/list'](offset=(page-1) * limit, limit=limit, filters=filters, other_filters=other_filters).unwrap()
except Exception as e:
error_logger.error(u'获取reply列表失败%s', e)
raise
......@@ -87,7 +87,7 @@ class ReplyCreateView(APIView):
'type': REPLY_TYPE.PUPPET_REPLY_ANS,
}
try:
rep = self.rpc['venus/sun/manage/reply/edit'](id_=id_, data=data).unwrap()
rep = self.rpc['venus/sun/reply/manage/edit'](id_=id_, data=data).unwrap()
except Exception as e:
error_logger.error(u'创建/编辑%s-reply信息失败%s' % (id, 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