mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-06 04:18:11 +00:00
数据库备份
This commit is contained in:
parent
7c6168c0ba
commit
700fe3b8cb
@ -118,7 +118,7 @@ class SystemDatabackup extends AuthController
|
||||
*/
|
||||
public function import(Request $request = null)
|
||||
{
|
||||
$part = $request->post('part')?:null;
|
||||
$part = $request->post('part') ? intval($request->post('part')) :null;
|
||||
$start = $request->post('start') === '0' ? 0 : null;
|
||||
$time = strtotime($request->post('time'));
|
||||
$db = $this->DB;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user