mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-21 10:07:11 +00:00
数据库备份
This commit is contained in:
parent
441ac858f2
commit
9bca1977d9
@ -118,9 +118,9 @@ class SystemDatabackup extends AuthController
|
|||||||
*/
|
*/
|
||||||
public function import(Request $request = null)
|
public function import(Request $request = null)
|
||||||
{
|
{
|
||||||
$part = $request->post('part')?:null;
|
$part = $request->get('part')?:null;
|
||||||
$start = $request->post('start')?:null;
|
$start = $request->get('start')?:null;
|
||||||
$time = strtotime($request->post('time'));
|
$time = strtotime($request->get('time'));
|
||||||
$db = $this->DB;
|
$db = $this->DB;
|
||||||
if(is_numeric($time) && is_null($part) && is_null($start)){
|
if(is_numeric($time) && is_null($part) && is_null($start)){
|
||||||
$list= $db->getFile('timeverif',$time);
|
$list= $db->getFile('timeverif',$time);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user