mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-06 13:55:34 +00:00
数据库备份
This commit is contained in:
parent
0039536d3a
commit
a8ca5210f4
@ -120,7 +120,7 @@ class SystemDatabackup extends AuthController
|
||||
{
|
||||
$part = $request->post('part')?:null;
|
||||
$start = $request->post('start')?:null;
|
||||
$time = strtotime($request->post('feilname'));
|
||||
$time = strtotime($request->post('time'));
|
||||
$db = $this->DB;
|
||||
if(is_numeric($time) && is_null($part) && is_null($start)){
|
||||
$list= $db->getFile('timeverif',$time);
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
};
|
||||
layList.basePost(layList.Url({a:'import'}),data,function (res) {
|
||||
if(res.code){
|
||||
layList.msg(res.msg);
|
||||
setTimeout(ipmosrting(res.data.time,res.data.part,res.data.start),2000);
|
||||
}else{
|
||||
layList.msg(res.msg);
|
||||
return false;
|
||||
@ -87,9 +87,6 @@
|
||||
case 'import':
|
||||
layer.confirm('真的倒入该备份吗?', function(index){
|
||||
ipmosrting(data.time);
|
||||
layList.basePost(layList.Url({a:'import'}),{feilname:data.time},function (res) {
|
||||
setTimeout(ipmosrting(res.data.time,res.data.part,res.data.start),2000);
|
||||
});
|
||||
});
|
||||
break;
|
||||
case 'delFile':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user