Commit c73d42b1 by larosa

add update required

parent e0c6654d
Showing with 1 additions and 1 deletions
......@@ -29,7 +29,7 @@ conf = config_prod
if __name__ == '__main__':
query_sql = "update lie_shop_attr set is_required = 0 where id = 5096 or id = 5097"
query_sql = "update lie_shop_attr set is_required = 0 where id = 5096 or id = 5097 or id = 493"
db = pymysql.connect(host=conf["mysql"]["host"], port=3306, user=conf["mysql"]["user"], password=conf["mysql"]["password"], database=conf["mysql"]["database"])
cursor = db.cursor()
cursor.execute(query=query_sql)
......
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