Commit 83d533d4 authored by zhanglu's avatar zhanglu

去掉标签搜索平台

parent cb857bc4
......@@ -35,7 +35,7 @@ class TagSearchView(APIView):
def get(self, request):
offset, count = get_offset_count(request)
name = request.GET.get('name')
platform = request.GET.get('platform')
platform = None # request.GET.get('platform')
collection = request.GET.get('collection')
try:
data = self.rpc['venus/sun/tag/search'](offset=offset, count=count, name=name, platform=platform, collection=collection).unwrap()
......@@ -93,7 +93,7 @@ class TagTypeSearchView(APIView):
'data': ['{id}:{name}'.format(id=search_data['id'], name=search_data['name']) for search_data in data]
}
class PictorialSearchView(APIView):
def get(self, request):
name = request.GET.get('name')
......
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