function submit_id2() {
layer.load(0, {
shade: 0.1,
shadeClose: false
})
$.ajax({
type: 'post',
url: '/Api/contact/submit/uid/2.html',
data: $("#addForm2").serialize(),
dataType: 'json',
success: function (data) {
layer.closeAll();
if (data.status == 200) {
document.getElementById("addForm2").reset();
layer.msg(data.result, {
icon: 1,
time: 4000
});
} else {
layer.msg(data.result, {
icon: 2,
time: 4000
})
}
}
})
}