Commit f72e50ff authored by yangchenglin's avatar yangchenglin

fix

parent 6688e8f1
......@@ -86,7 +86,7 @@ class ReplyManageListView(APIView):
def get(self, request):
page = int(request.GET.get('page', 1))
limit = int(request.GET.get('limit', 10))
id_ = request.GET.get('id', None)
topic_id = request.GET.get('topic_id', None)
content = request.GET.get('content', None)
topic_content = request.GET.get('topic_content', None)
user_name = request.GET.get('user_name', None)
......@@ -117,8 +117,8 @@ class ReplyManageListView(APIView):
if user_name:
other_filters['user_name'] = user_name
filters = {}
if id_:
filters['id'] = int(id_)
if topic_id:
filters['topic_id'] = int(topic_id)
if content:
filters['content__contains'] = content
if belong_type:
......
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