12345678910111213141516171819202122 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- include_once(FCPATH . 'application/controllers/Base_Controller.php');
- class Map extends Base_Controller{
- public function __construct()
- {
- parent::__construct();
- $this->load->model('Group_model');
- }
- // 分组列表
- public function get_list(){
- $userId = $this->get_user_info('id');
- $role = $this->get_user_info('role');
- $where = array();
- if ($role != SYSTEM_ADMIN) $where['userId'] = $userId;
- }
- }
|