## 修改地址
>接口说明
修改用户地址
>接口请求说明
HTTP请求格式: application/json
>接口参数说明
~~~[api]
post:/api/miniapp/users/update?sessionId=
*string:id#地址ID
*string:realName#名称
*string:cellphone#手机号码
*string:locationName#定位地址名称
*string:address#详细地址
*double:lat#纬度
*double:lng#经度
boolean:defaultFrom#默认取件
boolean:defaultTo#默认送件
<<<
success
{
"id": "4028e7ad60d946730160da2fe4ea0009",
"realName": "迷惑的牛豆1",
"gender": 0,
"address": "B座6楼第十大道8336门市",
"cellphone": "15632755525",
"locationName": "明珠商贸城",
"lat": 38.339208,
"lng": 116.810214,
"adcode": null,
"areaName": null,
"genderLabel": "保密",
"defaultFrom": false,
"defaultTo": false
}
<<<
error
{
"path": "/api/miniapp/addresses/update",
"message": "用户地址不存在!",
"status": 404,
"timestamp": 1515489670187
}
~~~
>接口请求示例
~~~
{
"id": "4028e7d060c05e2c0160c06cb4140007",
"realName":"迷惑的牛豆",
"cellphone":"15632755525",
"locationName":"明珠商贸城",
"address":"B座6楼第十大道8336门市",
"lat":38.339208000000,
"lng":116.810214000000,
"defaultFrom": false,
"defaultTo": false
}
~~~