数据库备份

This commit is contained in:
sugar1569 2018-09-25 19:36:52 +08:00
parent 3fceb6c302
commit 7f3a40071e

View File

@ -119,7 +119,7 @@ class SystemDatabackup extends AuthController
public function import(Request $request = null)
{
$part = $request->post('part')?:null;
$start = $request->post('start')?:0;
$start = $request->post('start')==0?0:null;
$time = strtotime($request->post('time'));
$db = $this->DB;
if(is_numeric($time) && is_null($part) && is_null($start)){