Commit 51dc2f26 authored by 李小芳's avatar 李小芳

Merge branch 'sug_ggod' into 'master'

Sug ggod

See merge request !40
parents 65505254 1c737530
...@@ -215,12 +215,10 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50): ...@@ -215,12 +215,10 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50):
ret_list.extend(query_ret_list) ret_list.extend(query_ret_list)
ret_list.extend(wordresemble_ret_list) ret_list.extend(wordresemble_ret_list)
###高亮调整
query_ret_list.extend(wordresemble_ret_list)
for ret in query_ret_list: ###高亮调整
for ret in ret_list:
query2 = ret["ori_name"] query2 = ret["ori_name"]
for item in range(0, len(query)): for item in range(0, len(query)):
is_find = query2.find(query[item]) is_find = query2.find(query[item])
high_query = None high_query = None
......
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