diff --git a/app/system/controller/BackUp.php b/app/system/controller/BackUp.php index e36f54f1..cdc1b736 100644 --- a/app/system/controller/BackUp.php +++ b/app/system/controller/BackUp.php @@ -77,8 +77,15 @@ class BackUp extends AdminBase public function daoru() { $db= new up($this->upcnf); - $db->repair($tables); - $start= $db->setFile($file)->import($start); + // // $db->repair($tables); + + $start= $db->getFile('2020-11-04 21:30:38'); + $file = $start['file']; + // dump($start); + // halt($file); + $s = 0; + $start= $db->setFile($file)->import($s); + } diff --git a/app/system/route/system.php b/app/system/route/system.php index 47802de1..a150e408 100644 --- a/app/system/route/system.php +++ b/app/system/route/system.php @@ -56,6 +56,7 @@ Route::group('backup', function () { Route::rule('create', 'BackUp/create', 'post'); # 获取数据 Route::rule('data', 'BackUp/ajaxData', 'post'); # 获取数据 Route::rule('delete/