瀏覽代碼

数据库备份

sugar1569 7 年之前
父節點
當前提交
1a7127fe3f
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      application/admin/controller/system/SystemDatabackup.php

+ 2 - 4
application/admin/controller/system/SystemDatabackup.php

@@ -165,9 +165,7 @@ class SystemDatabackup extends AuthController
      */
     public function downloadFile(Request $request = null)
     {
-        echo $request->get('feilname');
-        $time = intval($request->get('feilname'));
-        echo $time;
-        $this->DB->downloadFile($time,1);
+        $time = intval($request->param('feilname'));
+        $this->DB->downloadFile($time);
     }
 }