Commit 0b3cd891 authored by lixiaofang's avatar lixiaofang

add

parent 3cfbd8f3
...@@ -109,7 +109,7 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50): ...@@ -109,7 +109,7 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50):
"offline_score": 0, "offline_score": 0,
"type_flag": get_tips_word_type(ori_name), "highlight_name": ori_name, "describe": ""}) "type_flag": get_tips_word_type(ori_name), "highlight_name": ori_name, "describe": ""})
if len(ret_list >= 50): if len(ret_list) >= 50:
return ret_list[0:50] return ret_list[0:50]
else: else:
......
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