Commit b03031bc authored by lixiaofang's avatar lixiaofang

纠错

parent 9b1a1518
...@@ -78,7 +78,7 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50): ...@@ -78,7 +78,7 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50):
if len(ret_list) >= 50: if len(ret_list) >= 50:
return ret_list[0:50] return ret_list[0:50]
elif len(ret_list) < 50 and len(ret_list) > 5: elif len(ret_list) < 50 and len(ret_list) > 3:
return ret_list return ret_list
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