diff --git a/application/controllers/information.php b/application/controllers/information.php index cfead29f..56c36a15 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -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: diff --git a/application/views/information_edit.php b/application/views/information_edit.php index ceca7eb7..2017ff17 100644 --- a/application/views/information_edit.php +++ b/application/views/information_edit.php @@ -1043,7 +1043,7 @@
-