cambio por el pago

This commit is contained in:
DanielRamirezGe
2020-03-03 19:25:27 -06:00
parent fa1f8ee125
commit e3a8f93232
4 changed files with 50 additions and 15 deletions
+4 -1
View File
@@ -37,7 +37,10 @@ app.get('/traer_datos', async(req, res) => {
cad = `select * from evento where tipo_evento='Dialogo magistral';`;
let d_m = await query(cad);
res.status(200).json({ error: false, msj: "exito", universidad: uni, conversatorio: con, taller_alumno: t_a, taller_profesor: t_p, visita: v_g, dialogo: d_m });
cad = `select * from evento where tipo_evento='Bienvenida';`;
let bien = await query(cad);
res.status(200).json({ error: false, msj: "exito", bienvenida: bien, universidad: uni, conversatorio: con, taller_alumno: t_a, taller_profesor: t_p, visita: v_g, dialogo: d_m });
return;
} catch (err) {
console.log(err);