application/manage/controller/Database.php
public function delBakup(Request $request)
    {
        $bakup_id = $request->param('bakup_id');
        if (empty($bakup_id)) {
            return $this->error('备份ID为空');
        }
        
        // 删除备份
        DatabaseLogic::instance()->delBakup($bakup_id);
        
        return $this->success('删除备份记录成功', Url::build('database/bakupLog'));
    }
public function delBakup(Request $request)
    {
        $bakup_id = $request->param('bakup_id');
        if (empty($bakup_id)) {
            return $this->error('备份ID为空');
        }
        
        // 删除备份
        DatabaseLogic::instance()->delBakup($bakup_id);
        
        return $this->success('删除备份记录成功', Url::build('database/bakupLog'));
    }
删除记录