src/DdvUtil/Laravel/Model.php
public function removeAttribute($key){
        if(!empty($key)&&is_array($key)){
            array_map([$this, 'removeAttribute'], $key);
            return $this;
        }elseif(strpos($key, ',')!==false){
            $this->removeAttribute(explode(',', $key));
        }
        unset($this->$key);
        return $this;
    }
public function removeAttribute($key){
        if(!empty($key)&&is_array($key)){
            array_map([$this, 'removeAttribute'], $key);
            return $this;
        }elseif(strpos($key, ',')!==false){
            $this->removeAttribute(explode(',', $key));
        }
        unset($this->$key);
        return $this;
    }
移除一个参数
@param $key