Authored by simba

修改作者

# 修改作者
> 接口名: `/guang/author/updateAuthor
### 方法
> POST
### 入参
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|id|Integer|1|主键|
|username|String|路遥|名称|
|authorDesc|String|平凡世界。。。|描述|
|avatar|String|http://img12.static.yhbimg.com/yhb-img02/2015/06/12/14/0220208c13de341448647b7eead758d592.jpg?imageView/{mode}/w/{width}/h/{height}|用户头像|
---------------------
### 对应SQL的操作库表
```
<update id="updateByPrimaryKeySelective" parameterType="com.yohobuy.platform.dal.guang.model.Author" >
update author
<set >
<if test="username != null" >
username = #{username,jdbcType=VARCHAR},
</if>
<if test="avatar != null" >
avatar = #{avatar,jdbcType=VARCHAR},
</if>
<if test="authorDesc != null" >
author_desc = #{authorDesc,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=INTEGER},
</if>
</set>
where uid = #{uid,jdbcType=INTEGER}
</update>
```
### 错误编码
-------------------------
|错误码code|消息|说明|
|--------|----|----|
|200|修改成功| |
|400|修改失败| |
### 返回
``` json
{
"code": "200",
"message":"修改成功"
}
```
... ...