application/manage/controller/Config.php
public function delConfig(Request $request)
    {
        $config_id = $request->param('config_id');
        if (empty($config_id)) {
            return $this->error('配置ID为空');
        }
        
        // 删除配置
        ConfigLogic::instance()->delConfig($config_id);
        
        return $this->success('删除配置成功');
    }
public function delConfig(Request $request)
    {
        $config_id = $request->param('config_id');
        if (empty($config_id)) {
            return $this->error('配置ID为空');
        }
        
        // 删除配置
        ConfigLogic::instance()->delConfig($config_id);
        
        return $this->success('删除配置成功');
    }
删除配置

@param Request $request
@return mixed