|
@@ -90,11 +90,12 @@
|
|
|
contentType: false,
|
|
|
}).success(function (result) {
|
|
|
if(result.result == "1"){
|
|
|
+ layer.close(index);
|
|
|
top.layer.msg(result.msg, {icon: 1});
|
|
|
window.location.reload();
|
|
|
}else{
|
|
|
+ layer.close(index);
|
|
|
top.layer.msg(result.msg, {icon: 2});
|
|
|
- window.location.reload();
|
|
|
}
|
|
|
});
|
|
|
}, function(index){
|