public function del() { parent::common_del($this->model); }
public function del() { $id = I('id'); $ids = I('ids'); if (!empty($id)) { $key = 'Goods_getInfo_' . $id; S($key, null); } else { foreach ($ids as $i) { $key = 'Goods_getInfo_' . $i; S($key, null); } } parent::common_del($this->model); }