Commit e2e7ab49 authored by lixiaofang's avatar lixiaofang

删除多余代码

parent 8a73118a
......@@ -920,6 +920,7 @@ class TopicUtils(object):
def business_topic_ids(cls, filters, nfilters, sorts_by, offset=0, size=10, index_name="topic", filter_online=True):
must = cls.business_filters(filters, filter_online=filter_online)
logging.info("get must:%s" % must)
q = {
"query": {
"bool": {
......@@ -952,7 +953,6 @@ class TopicUtils(object):
"total_count": 0
}
@classmethod
@classmethod
def business_filters(cls, filters, filter_online=True):
"""处理过滤器部分。"""
......
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