Commit 4c0d5856 authored by yangchenglin's avatar yangchenglin

fix

parent 64007da9
......@@ -97,8 +97,10 @@ class TagTypeSearchView(APIView):
class PictorialSearchView(APIView):
def get(self, request):
name = request.GET.get('name')
offset, count = get_offset_count(request)
try:
data = self.rpc['venus/sun/pictorial/search'](name=name).unwrap()
data = self.rpc['venus/sun/pictorial/search'](name=name, offset=offset, count=count).unwrap()
except Exception as e:
raise e
......
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