Commit 86fe45a9 authored by lixiaofang's avatar lixiaofang

add

parent 6c4ef049
...@@ -100,7 +100,6 @@ class QueryWordAttr(object): ...@@ -100,7 +100,6 @@ class QueryWordAttr(object):
@classmethod @classmethod
def get_hot_search_query_word_weight(cls, name): def get_hot_search_query_word_weight(cls, name):
try: try:
print(name)
search_num = StrategyHistoryQueryWords.objects.filter(keyword=name).values_list( search_num = StrategyHistoryQueryWords.objects.filter(keyword=name).values_list(
"search_num", flat=True).first() "search_num", flat=True).first()
if not search_num: if not search_num:
......
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