修复数据备份错误

This commit is contained in:
瓜哥 committed 2021-08-07 13:51:51 +08:00
1 parent 55073d143c
commit 09b40897b7
1 file changed
+12 -1
+12 -1
View File
@@ -156,7 +156,18 @@ class BackUp extends AdminBase
]
];
}
}
}else if(is_array($start)) {
$data = [
'msg' => '备份完成!'
,'code' => 1
,'data' => [
'tab' => [
'id' => $id
,'start' => $start[0]
]
]
];
}
}else{
$data = [
'msg' => '参数错误!'