create apis to get, add & delete loyalty cards
This commit is contained in:
parent
c816a20d6f
commit
7337f7eee9
3 changed files with 148 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue