Commit aa2947f2 authored by Davve's avatar Davve

修改命名

parent 10cccb42
......@@ -12,7 +12,7 @@ class GroupListView(APIView):
limit = request.GET.get('limit', 10)
filter = self.handle_filter(request.GET.get('filter', ""))
try:
data = self.rpc['venus/community/pick/get'](offset=page, limit=limit, filters=filter).unwrap()
data = self.rpc['venus/community/group/get'](offset=page, limit=limit, filters=filter).unwrap()
except Exception as e:
# raise e
data = {
......
......@@ -12,7 +12,7 @@ class StarListView(APIView):
limit = request.GET.get('limit', 10)
filter = self.handle_filter(request.GET.get('filter', ""))
try:
data = self.rpc['venus/community/push/get'](offset=page, limit=limit, filters=filter).unwrap()
data = self.rpc['venus/community/star/get'](offset=page, limit=limit, filters=filter).unwrap()
except Exception as e:
data = {
'total': 200,
......
......@@ -12,7 +12,7 @@ class TopicListView(APIView):
limit = request.GET.get('limit', 10)
filter = self.handle_filter(request.GET.get('filter', ""))
try:
data = self.rpc['venus/community/pick/get'](offset=page, limit=limit, filters=filter).unwrap()
data = self.rpc['venus/community/topic/get'](offset=page, limit=limit, filters=filter).unwrap()
except Exception as e:
# raise e
data = {
......
......@@ -12,7 +12,7 @@ class UserListView(APIView):
limit = request.GET.get('limit', 10)
filter = self.handle_filter(request.GET.get('filter', ""))
try:
data = self.rpc['venus/community/push/get'](offset=page, limit=limit, filters=filter).unwrap()
data = self.rpc['venus/community/user/get'](offset=page, limit=limit, filters=filter).unwrap()
except Exception as e:
data = {
'total': 200,
......
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