Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
bom_identify
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5ead7a1a
authored
May 11, 2021
by
陈森彬
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加区分bom和前端搜索的返回字段
parent
acdc8fe6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
valid_server.py
valid_server.py
View file @
5ead7a1a
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment