Commit 86b97c91 by 陈森彬

添加品牌

parent ce7b54c5
Showing with 1 additions and 1 deletions
...@@ -35,7 +35,7 @@ redis_pool = get_redis_conn() ...@@ -35,7 +35,7 @@ redis_pool = get_redis_conn()
def main(): def main():
brand_list = ["ROHM(罗姆)"] brand_list = ["AMAZING(晶焱)","EUTECH(台湾德信)"]
for brand_name in brand_list: for brand_name in brand_list:
res = redis_pool.sadd("brand_set", brand_name) res = redis_pool.sadd("brand_set", brand_name)
if res: 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