Commit e85a8c64 authored by lixiaofang's avatar lixiaofang

add

parent d1c43d95
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
import redis import redis
from django.conf import settings from django.conf import settings
redis_client = redis.StrictRedis.from_url(settings.REDIS_URL) redis_client = redis.StrictRedis.from_url(settings.REDIS_URL)
\ No newline at end of file
...@@ -13,11 +13,6 @@ from libs.tools import point_distance ...@@ -13,11 +13,6 @@ from libs.tools import point_distance
from gm_rpcd.all import bind from gm_rpcd.all import bind
from trans2es.commons.words_utils import QueryWordAttr, get_tips_word_type from trans2es.commons.words_utils import QueryWordAttr, get_tips_word_type
# lat经度
# lng纬度
def get_suggest_tips(query, lat, lng, offset=0, size=50): def get_suggest_tips(query, lat, lng, offset=0, size=50):
try: try:
# ios输入法在某些情况下会携带\\u2006 # ios输入法在某些情况下会携带\\u2006
......
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