获取-收货地址
GET
/member/address获取收货地址列表
请求参数
Header 参数
Authorization
string
必需
Bearer token值: 例如: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ7XCJuYW1lXCI6XCLkvKDmmbrmlZnogrIrMVwiLFwiaWRcIjpcIjEzNjk1OTQ5NTQ3Mzk4NTk0NThcIixcInVzZXJuYW1lXCI6XCJ4aWFvdHV4aWFuMDAxXCJ9IiwiaWF0IjoxNjU2NzY2MzkwLCJleHAiOjE2NTcwMjU1OTB9.g-0SLjVSVh2A6Zt14enZsP1bsImxLhaQclfyItIFrAs
示例值:
{{ERABBIT_ACCESS_TOKEN}}
示例代码
返回响应
成功(200)
身份认证失败_小兔仙(401)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
业务状态码
1成功, 其他失败
msg
string
响应消息
result
array [object {11}]
响应结果
id
string
收货地址id
receiver
string
收货人-姓名
contact
string
收货人-联系方式
provinceCode
string
收货人-省份编码
cityCode
string
收货人-城市编码
countyCode
string
收货人-地区编码
address
string
收货人-详细地址
isDefault
integer
收货地址是否默认
0是, 1不是
fullLocation
string
收货人-完整地址
postalCode
string | null
收货人-邮政编码
addressTags
string | null
收货人-地址标签
如果有多个, 是英文逗号分割的
示例成功示例
{
"code": "1",
"msg": "操作成功",
"result": [
{
"id": "1543553507431288834",
"receiver": "老李",
"contact": "13900002020",
"provinceCode": "210000",
"cityCode": "210200",
"countyCode": "210202",
"address": "xxx街xxx路",
"isDefault": 1,
"fullLocation": "辽宁省大连市中山区",
"postalCode": "111006",
"addressTags": "家里"
},
{
"id": "1543552536651239425",
"receiver": "老李",
"contact": "13900002020",
"provinceCode": "210000",
"cityCode": "210200",
"countyCode": "210202",
"address": "xxx街xxx路",
"isDefault": 1,
"fullLocation": "辽宁省大连市中山区",
"postalCode": "111006",
"addressTags": "家里"
},
{
"id": "1540230291484839938",
"receiver": "龙龙酱",
"contact": "17265443216",
"provinceCode": "420000",
"cityCode": "420100",
"countyCode": "420111",
"address": "武昌首义学院",
"isDefault": 1,
"fullLocation": "湖北省武汉市洪山区",
"postalCode": null,
"addressTags": null
},
{
"id": "1539125179223904257",
"receiver": "阿朱",
"contact": "13966666666",
"provinceCode": "320000",
"cityCode": "320500",
"countyCode": "320508",
"address": "慕容山庄",
"isDefault": 1,
"fullLocation": "江苏省苏州市姑苏区",
"postalCode": "514688",
"addressTags": "姑苏慕容"
},
{
"id": "1527553797373562882",
"receiver": "张先生12",
"contact": "15236363232",
"provinceCode": "150000",
"cityCode": "150600",
"countyCode": "150625",
"address": "仙霞西路885弄",
"isDefault": 1,
"fullLocation": "内蒙古自治区鄂尔多斯市杭锦旗",
"postalCode": "100010",
"addressTags": "家"
},
{
"id": "1539126595464204290",
"receiver": "慕容复",
"contact": "13966666666",
"provinceCode": "320000",
"cityCode": "320500",
"countyCode": "320508",
"address": "慕容山庄",
"isDefault": 0,
"fullLocation": "江苏省苏州市姑苏区",
"postalCode": "415366",
"addressTags": "姑苏慕容"
}
]
}
最后修改时间: 2 年前