SaeTClientV2::car_update PHP Method

car_update() public method

对应API:{@link http://open.weibo.com/wiki/2/account/profile/car_update account/profile/car_update}
public car_update ( array $car_update ) : array
$car_update array 要修改的职业信息。格式:array('key1'=>'value1', 'key2'=>'value2', .....)。 支持设置的项: - id string 需要更新的职业信息ID。 - start int 进入公司年份,最小为1900,最大为当年年份。 - end int 离开公司年份,至今填0。 - department string 工作部门。 - visible int 可见范围,0:自己可见、1:关注人可见、2:所有人可见。 - province int 省份代码ID,不可为空值。 - city int 城市代码ID,不可为空值。 - company string 公司名称,不可为空值。 参数province与city二者必选其一
参数id为空,则为新建职业信息,参数company变为必填项,参数id非空,则为更新,参数company可选
return array
    function car_update($car_update)
    {
        return $this->oauth->post('account/profile/car_update', $car_update);
    }
SaeTClientV2