Commit e2a28e9b authored by lixiaofang's avatar lixiaofang

add

parent 0b3cd891
......@@ -101,9 +101,9 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50):
for i in labels:
ori = i.split(":")[0]
if ori not in have_read_tips_set:
result_num = i.split(":")[1]
ori_name = base64.b64decode(ori.encode('utf8')).decode('utf8')
if ori_name not in have_read_tips_set:
result_num = i.split(":")[1]
ret_list.append(
{"results_num": result_num, "ori_name": ori_name, "id": None, "is_online": True,
"offline_score": 0,
......
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