Commit 06f167b7 authored by yangchenglin's avatar yangchenglin

fix

parent 2b99cb98
...@@ -100,7 +100,7 @@ class PictorialTopics(APIView): ...@@ -100,7 +100,7 @@ class PictorialTopics(APIView):
class PictorialFeedlListView(APIView): class PictorialFeedlListView(APIView):
def get(self, request): def get(self, request):
order_by = request.GET.get('order_by', "-id") order_by = request.GET.get('order_by', "-id")
offset = int(request.GET.get('page', 1)) offset = int(request.GET.get('offset', 1))
limit = int(request.GET.get('limit', 10)) limit = int(request.GET.get('limit', 10))
try: try:
......
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