Commit 83d533d4 authored by zhanglu's avatar zhanglu

去掉标签搜索平台

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