data_request; // 获取协议内容 $data = []; if(!empty($params['document'])) { $key = 'common_agreement_'.$params['document']; $ret = ConfigService::ConfigContentRow($key); // 浏览器标题 if(!empty($ret['data']['name'])) { $this->assign('home_seo_site_title', SeoService::BrowserSeoTitle($ret['data']['name'])); } $data = $ret['data']; } // 是否隐藏头尾、默认显示 $is_content = isset($params['is_content']) ? intval($params['is_content']) : 1; $this->assign('is_header', $is_content); $this->assign('is_footer', $is_content); $this->assign('data', $data); return $this->fetch(); } } ?>