public function del() { $model = $this->getModel('Extensions'); $ids = I('id'); if (empty($ids)) { $ids = array_unique((array) I('ids', 0)); } if (empty($ids)) { $this->error('请选择要操作的数据!'); } // 删除关键词 $map['aim_id'] = array('in', $ids); $map['addon'] = 'Extensions'; $map['token'] = get_token(); D('Common/Keyword')->where($map)->delete(); parent::common_del($model, $ids); }
public function del() { $model = $this->getModel($this->model_name); parent::common_del($model); }
public function del() { parent::common_del($this->model); }
public function option_del() { $model = $this->getModel('shop_vote_option'); parent::common_del($model); }
public function del($model = null, $ids = null) { parent::common_del('sport_award', $ids); }
public function del($model = null, $ids = null) { parent::common_del('custom_reply_news', $ids); }