public function lists()
 {
     $model = $this->getModel($this->table);
     $map['type'] = 2;
     //类型为第三方
     session('common_condition', $map);
     //	$this->model['list_grid']='keyword:关键词;title:标题;remark:备注;status|get_name_by_status:状态;id:操作:changestatus?id=[id]|修改状态';
     parent::common_lists($this->model);
 }
 public function lists()
 {
     $this->assign('add_button', false);
     $this->assign('del_button', false);
     $this->assign('search_button', false);
     $this->assign('check_all', false);
     $model = $this->getModel($this->table);
     $map['type'] = 0;
     //类型为内置
     session('common_condition', $map);
     $this->model['list_grid'] = 'keyword:关键词;title:标题;remark:备注;status|get_name_by_status:状态;id:操作:changestatus?id=[id]|修改状态';
     parent::common_lists($this->model);
 }
Пример #3
0
 public function lists()
 {
     $this->model = get_model_by_id(34);
     parent::common_lists($this->model);
 }