Commit 51a78c86 authored by 张永's avatar 张永

修复分页问题

parent 38fff92c
......@@ -229,7 +229,7 @@ class VersionList(APIView):
class VersionChannelList(APIView):
def get(self, request):
page = int(request.GET.get('page', 1))
offset = int(request.GET.get('offset', 10))
offset = int(request.GET.get('limit', 10))
version_id = request.GET.get('version_id', 10)
try:
version_list = self.rpc['venus/sun/channel_build/version_channel/list'](
......
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