Commit 485c13ca authored by lixiaofang's avatar lixiaofang

add

parent 23499ff6
...@@ -194,7 +194,7 @@ class QueryWordAttr(object): ...@@ -194,7 +194,7 @@ class QueryWordAttr(object):
def save_query_to_redis(cls, query, from_type=None, get_ret=False): def save_query_to_redis(cls, query, from_type=None, get_ret=False):
try: try:
lower_query = str(query).lower() lower_query = str(query).lower()
key = "】】】】】】】】】】】】】】" key = "save_query_to_redis"
redis_data = redis_client.hget(key, lower_query) redis_data = redis_client.hget(key, lower_query)
if from_type == "search_query": if from_type == "search_query":
order_weight = cls.get_hot_search_query_word_weight(name=query) order_weight = cls.get_hot_search_query_word_weight(name=query)
......
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