Commit 5ead7a1a by 陈森彬

增加区分bom和前端搜索的返回字段

parent acdc8fe6
Showing with 3 additions and 2 deletions
......@@ -149,12 +149,13 @@ class UCHandler(tornado.web.RequestHandler):
if check_symbol(kw_info) and not encap_res:
words_list.append(kw_info)
words2_list.append(kw_info)
res['status'] = 1
res['words'] = list(set(words_list))
res['words'] = list(set(words_list)) #bom使用
res['attrs'] = list(set(attrs_list))
res['encap'] = list(set(encap_list))
res['words2'] = list(set(words2_list))
res['words2'] = list(set(words2_list)) #words2 前台搜索使用
print(res)
self.write(res)
......
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 sign in to comment