Commit f0780fc1 authored by 李小芳's avatar 李小芳

同步新的表

parent 4e4ea9ed
......@@ -129,15 +129,6 @@ class QueryWordAttr(object):
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
return 0.0
@classmethod
def get_hot_search_unique_word_weight(cls, name):
try:
search_info = StrategyHistoryQueryUnique.objects.filter(keyword=name).first()
weight = int(0.0001 * search_info.uv)
return weight
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
return 0.0
@classmethod
def get_hot_search_query_word_weight_v1(cls, name):
......
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