Przeglądaj źródła

数据库备份

sugar1569 7 lat temu
rodzic
commit
1a7127fe3f

+ 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);
     }
 }