From 916181bc0bd1c527ded79915935aa9bbaef1af61 Mon Sep 17 00:00:00 2001 From: Luis Rendon Date: Wed, 21 Feb 2024 16:44:25 -0600 Subject: [PATCH] Se puso la url de producion al script para luego hacer el merge con el main. --- SyncReferences2IONOS/SyncReferences2IONOS.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SyncReferences2IONOS/SyncReferences2IONOS.py b/SyncReferences2IONOS/SyncReferences2IONOS.py index 405e730..fac9116 100644 --- a/SyncReferences2IONOS/SyncReferences2IONOS.py +++ b/SyncReferences2IONOS/SyncReferences2IONOS.py @@ -134,7 +134,7 @@ def CreateFolderContent(): # Procesar archivo if WriteToLog(referencia): processed_references.append(referencia) - URL = 'http://localhost:5000/api/AmazonInvoice/UploadSIRReference?ArchivoM=' +\ + URL = 'https://www.gemcousa.mx/GEMCOBackend/api/AmazonInvoice/UploadSIRReference?ArchivoM=' +\ archivoM+'&aduana='+aduana+'&patente='+patente + \ '&pedimento='+pedimento+'&fPago=' + \ str(fPago)+'&TipoCambio='+str(tipoCambio)+'&clave='+clave @@ -150,7 +150,7 @@ def CreateFolderContent(): 'clave': clave } print( f"la referencia {referencia} ya ha sido posteada." ) - r = requests.post(url=URL,files=multiple_files, verify=False, timeout=1000000) + r = requests.post(url=URL,files=multiple_files, verify=False, timeout=1000) except Exception as e: print("Error: %s" % e) # WriteToLog(r.text) @@ -161,6 +161,6 @@ CreateFolderContent() - #URL = 'https://www.gemcousa.mx/GEMCOBackend/api/AmazonInvoice/UploadSIRReference?ArchivoM=' +\ -# URL = 'http://localhost:5000/api/AmazonInvoice/UploadSIRReference?ArchivoM=' +\ \ No newline at end of file +# URL = 'http://localhost:5000/api/AmazonInvoice/UploadSIRReference?ArchivoM=' +\ +# URL 'https://www.gemcousa.solutions/GEMCOBackend/api/AmazonInvoice/UploadSIRReference?ArchivoM=' +\ \ No newline at end of file