|
|
|
@ -20,8 +20,6 @@ class Information extends CI_Controller {
|
|
|
|
|
$this->load->model('Infoauthors_model');
|
|
|
|
|
$this->load->model('InfoSMS_model');
|
|
|
|
|
$this->load->library('Amplib'); //加载AMP处理类
|
|
|
|
|
$this->load->library('Accesscheck');
|
|
|
|
|
$this->accesscheck->check_access();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function index() {
|
|
|
|
@ -144,12 +142,7 @@ class Information extends CI_Controller {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//查询结构列表信息
|
|
|
|
|
//$data['informationList'] = $this->Information_model->StructureList($rootStructure_ID);
|
|
|
|
|
$data['informationList'] = $this->accesscheck->get_info_structure($rootStructure_ID);
|
|
|
|
|
if (!$data['informationList']) {
|
|
|
|
|
redirect(site_url('Login/refuse'));
|
|
|
|
|
}
|
|
|
|
|
$data['is_writeable'] = $this->accesscheck->get_edit_type($Structure->is_path);
|
|
|
|
|
$data['informationList'] = $this->Information_model->StructureList($rootStructure_ID);
|
|
|
|
|
|
|
|
|
|
//增加一项,属于这个区域,但是结构数据层次不准确的也要列出来
|
|
|
|
|
//todo:
|
|
|
|
|