数据库备份

This commit is contained in:
sugar1569 2018-09-25 19:27:26 +08:00
parent b9665f226f
commit f4f1524256

View File

@ -89,23 +89,23 @@
switch (layEvent){ switch (layEvent){
case 'import': case 'import':
layer.confirm('真的倒入该备份吗?', function(index){ layer.confirm('真的倒入该备份吗?', function(index){
var datas = { // var datas = {
time:data.time, // time:data.time,
part:1, // part:1,
start:0 // start:0
}; // };
$.ajax({ // $.ajax({
url: layList.Url({a: 'import'}), // url: layList.Url({a: 'import'}),
data: datas, // data: datas,
type: 'post', // type: 'post',
dataType: 'json', // dataType: 'json',
success: function (rem) { // success: function (rem) {
console.log(rem) // console.log(rem)
}, // },
error: function (err) { // error: function (err) {
console.log(err) // console.log(err)
} // }
} // };
//ipmosrting(data.time,null,null); //ipmosrting(data.time,null,null);
layer.close(index); layer.close(index);
}); });