#### 请求收货地址
~~~[api]
post:/user/address/queryAddressList
userId=3191#用户id(int)
<<<
success
{
"retCode": 0,
"retMsg": "success",
"responseInfo": {
lists: [{
userId,
trueName,
areaId,
areaInfo,
mobilephone,
telephone,
isDefault,
firAreaId,
secAreaId,
addressDetailInfo,
deleteFlag,
id
}]
}
}
<<<
error
{
"retCode": !0,
"retMsg": "errMsg"
}
~~~
#### 添加收货地址
~~~[api]
post:/user/address/addAddressInfo
trueName=xxxx#姓名(string)
mobilephone=855-12345678789#带国家码的手机号(string)
firAreaId=1#1级地域(int)
secAreaId=2#2级地域(int)
addressDetailInfo=xx省xx市#地域名称(string)
areaInfo=xx区xx街道#详细信息(string)
telephone=010-89471219#电话号(string)
userId=3191#用户id(int)
isDefault=0|1#是否为默认地址(int)
areaId=2#2级id(int)
<<<
success
{
"retCode": 0,
"retMsg": "success",
"responseInfo": {}
}
<<<
error
{
"retCode": !0,
"retMsg": "errMsg"
}
~~~
#### 修改收货地址
~~~[api]
post:/user/address/updateAddressInfo
trueName=xxxx#姓名(string)
mobilephone=855-12345678789#带国家码的手机号(string)
firAreaId=1#1级地域(int)
secAreaId=2#2级地域(int)
addressDetailInfo=xx省xx市#地域名称(string)
areaInfo=xx区xx街道#详细信息(string)
telephone=010-89471219#电话号(string)
userId=3191#用户id(int)
isDefault=0|1#是否为默认地址(int)
areaId=2#2级id(int)
id=1#地址id(int)
<<<
success
{
"retCode": 0,
"retMsg": "success",
"responseInfo": {}
}
<<<
error
{
"retCode": !0,
"retMsg": "errMsg"
}
~~~
#### 删除收货地址
~~~[api]
post:/user/address/deleteAddressInfo
id=1#地址id(int)
<<<
success
{
"retCode": 0,
"retMsg": "success",
"responseInfo": {}
}
<<<
error
{
"retCode": !0,
"retMsg": "errMsg"
}
~~~