From 0d93dd7662e4189e3b000b318f1573d16c1d1088 Mon Sep 17 00:00:00 2001 From: Luis Rendon Date: Wed, 27 Mar 2024 15:39:01 -0500 Subject: [PATCH] Se agregaron el config json las credenciales de producion ademas que se coemtaron las de la maquina local. --- .../ReporteMensualAmazon.py | 27 +++++++++++++++++++ RptSegregadosFacPagadas/config.json | 6 ++--- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/RptSegregadosFacPagadas/ReporteMensualAmazon.py b/RptSegregadosFacPagadas/ReporteMensualAmazon.py index da7595a..7aa9a52 100644 --- a/RptSegregadosFacPagadas/ReporteMensualAmazon.py +++ b/RptSegregadosFacPagadas/ReporteMensualAmazon.py @@ -132,3 +132,30 @@ finally: conn.close() + + +# Credenciales producion + #{ +# "server": "100.10.10.1", +# "database": "GEMCO", +# "username": "admin", +# "password": "DBAdmin1234$.", +# "EmailUser": "noreply@gemcousa.mx", +# "EmailPassword": "Mx77lf%02", +# "EmailServer": "smtp.ionos.com", +# "EmailPort": 587, +# "recipients": ["lrendon@gemcousa.com", "destinatario2@example.com", "destinatario3@example.com"] +# } + + +# { credenciales maquina local +# "server": ".", +# "database": "GEMCO", +# "username": "sa", +# "password": "Chispa10", +# "EmailUser": "noreply@gemcousa.mx", +# "EmailPassword": "Mx77lf%02", +# "EmailServer": "smtp.ionos.com", +# "EmailPort": 587, +# "recipients": ["lrendon@gemcousa.com", "destinatario2@example.com", "destinatario3@example.com"] +# } diff --git a/RptSegregadosFacPagadas/config.json b/RptSegregadosFacPagadas/config.json index 2bc7628..9946751 100644 --- a/RptSegregadosFacPagadas/config.json +++ b/RptSegregadosFacPagadas/config.json @@ -1,8 +1,8 @@ { - "server": ".", + "server": "100.10.10.1", "database": "GEMCO", - "username": "sa", - "password": "Chispa10", + "username": "admin", + "password": "DBAdmin1234$.", "EmailUser": "noreply@gemcousa.mx", "EmailPassword": "Mx77lf%02", "EmailServer": "smtp.ionos.com",