|
|
|
@ -100,6 +100,25 @@ class Welcome extends CI_Controller {
|
|
|
|
|
$this->load->view('bootstrap/footer');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//根据信息节点ID获取信息,用于搜索结果的批量更新静态页面
|
|
|
|
|
public function create_infomation_urls_by_ids($view = false){
|
|
|
|
|
$is_ids=$this->input->get('key');
|
|
|
|
|
if (empty($is_ids)) {
|
|
|
|
|
show_404();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
$data['all_information'] = $this->Information_model->get_detail_by_ids($is_ids);
|
|
|
|
|
if ($view == 'amp') {
|
|
|
|
|
$this->load->view('bootstrap3/header', $data);
|
|
|
|
|
$this->load->view('bootstrap3/refresh_amp_urls');
|
|
|
|
|
$this->load->view('bootstrap3/footer');
|
|
|
|
|
} else {
|
|
|
|
|
$this->load->view('bootstrap/header', $data);
|
|
|
|
|
$this->load->view('bootstrap/cache_url', $data);
|
|
|
|
|
$this->load->view('bootstrap/footer');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function get_infomation_urls($is_parent_id) {
|
|
|
|
|
$this->output->enable_profiler(FALSE);
|
|
|
|
|