Commit 0a1c912e authored by lixiaofang's avatar lixiaofang

merge master

parent 8e2bff7d
......@@ -102,7 +102,8 @@ class QueryWordAttr(object):
try:
search_num = StrategyHistoryQueryWords.objects.filter(keyword=name, is_delete=0).values_list(
"search_num", flat=True).first()
return search_num
return search_num * 0.01
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
return 0.0
......
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