Changeset 11044a5 in firmaeventos


Ignore:
Timestamp:
Nov 24, 2017, 1:56:56 PM (6 years ago)
Author:
rudmanmrrod <rudman22@…>
Branches:
master
Children:
6228b65
Parents:
43507f7
Message:

Añadida url de murachi

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • eventos/views.py

    rd285c11 r11044a5  
    6464        files = {'file': file}
    6565        try:
    66             #r = requests.post('https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/cargar', verify=False, headers={'Authorization': 'Basic YWRtaW46YWRtaW4='}, files=files)
    67             r = requests.post('https://192.168.12.154:8443/Murachi/0.1/archivos/cargar', verify=False, headers={'Authorization': 'Basic YWRtaW46YWRtaW4='}, files=files)
     66            r = requests.post('https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/cargar', verify=False, headers={'Authorization': 'Basic YWRtaW46YWRtaW4='}, files=files)
    6867            nuevo_participante = self.form_participante(request.POST)
    6968            consulta_api = r.json()['fileId']
  • static/js/funciones.js

    rd1eba60 r11044a5  
    7474    html += '<li class="collection-item"><b>Correo: </b>'+data.correo+'</li>';
    7575    html += '</ul>';
    76     html += '<iframe width="700px" height="600px" src="https://192.168.12.154:8443/Murachi/0.1/archivos/listadopdf/'+data.documento+'">';
     76    html += '<iframe width="700px" height="600px" src="https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/listadopdf/'+data.documento+'">';
    7777    html += '</iframe><br/>';
    7878    if (firma==true) {
     
    161161                type: 'POST',
    162162                contentType: 'application/json',                               
    163                 url:"https://192.168.12.154:8443/Murachi/0.1/archivos/pdfsqr",
    164                 //url:"https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/pdfs",
    165         //url: "https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/firmados/pdfs",
     163                url:"https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/pdfsqr",
    166164                dataType: "json",
    167165                data: parameters,               
     
    210208                type: 'POST',
    211209                contentType: 'application/json',
    212                 url:"https://192.168.12.154:8443/Murachi/0.1/archivos/pdfs/resenas",
    213                 //url:"https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/pdfs/resenas",
     210                url:"https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/pdfs/resenas",
    214211                dataType: 'json',
    215212                data: JSON.stringify({"signature":signature}),
Note: See TracChangeset for help on using the changeset viewer.