Commit a26ed04c authored by 张永's avatar 张永

Merge branch 'feature/channel_package_zy' into 'dev'

修复分页问题

See merge request !86
parents e9cab967 294bd453
......@@ -205,7 +205,7 @@ class VersionList(APIView):
:return:
"""
page = int(request.GET.get('page', 1))
offset = int(request.GET.get('offset', 10))
offset = int(request.GET.get('limit', 10))
try:
version_list = self.rpc['venus/sun/channel_build/version/list'](
offset=(page-1)*offset, limit=offset
......
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