swal({
title: '',
content: {
element: "div",
attributes: {
innerHTML: res.mensagem
},
},
icon: "success"
})
.then(function() {
window.location.href = res.redirecionar;
});