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
ce60f6f8
authored
Sep 05, 2025
by
陈森彬
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
373d57cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
brand_redis.py
brand_redis.py
View file @
ce60f6f8
...
...
@@ -32,10 +32,12 @@ def get_redis_conn():
redis_pool
=
get_redis_conn
()
#在mongo服务器 /data/soft/ti 目录 下 修改 bom_brand.py 文件(因为是liexin521用户 没有权限)
#执行 python3.6 bom_brand.py
def
main
():
# brand_list = ["AMAZING(晶焱)","EUTECH(台湾德信)"]
brand_list
=
[
"华润微"
,
"昂科"
]
# brand_list = ["华润微","昂科"]
brand_list
=
[
"沁恒"
]
for
brand_name
in
brand_list
:
res
=
redis_pool
.
sadd
(
"brand_set"
,
brand_name
)
if
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