Commit 373d57cf by 陈森彬

添加品牌

parent b5d977e1
Showing with 1 additions and 2 deletions
......@@ -30,13 +30,12 @@ def get_redis_conn():
task_redis = redis.Redis(connection_pool=pool)
return task_redis
redis_pool = get_redis_conn()
def main():
# brand_list = ["AMAZING(晶焱)","EUTECH(台湾德信)"]
brand_list = ["3M"]
brand_list = ["华润微","昂科"]
for brand_name in brand_list:
res = redis_pool.sadd("brand_set", brand_name)
if 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