create apis to get, add & delete loyalty cards

This commit is contained in:
2024-11-22 11:54:07 +02:00
parent c816a20d6f
commit 7337f7eee9
3 changed files with 148 additions and 0 deletions

View File

@@ -24,6 +24,14 @@ def dbDataAccessConnect():
database="data_access"
)
def dbMzansiWalletConnect():
return mysql.connector.connect(
host="mysqldb",
user="root",
passwd="C@rtoon1995",
database="mzansi_wallet"
)
def dbAllConnect():
return mysql.connector.connect(
host="mysqldb",