Appearance
5.2. 根据ID查询收货地址详情
接口说明:
Method | URL | ContentType |
---|---|---|
GET | /api/v1/delivery-address/ | application/json |
路径参数:
参数 | 类型说明 | 描述 |
---|---|---|
id | Integer | 收货地址ID |
返回结果说明:
参数 | 类型说明 | 描述 |
---|---|---|
result | DeliveryAddressRespDTO | 收货地址详情 |
success | boolean | 请求是否成功 |
errormsg | string | 错误信息 |
errorcode | string | 错误码 |
requestId | string | 请求ID |
请求参数示例:
GET /api/v1/delivery-address/1
返回数据示例:
json
{
"result": [
{
"id": 71,
"receiverName": "cip",
"receiverTel": "13666688969",
"provinceCode": "310000",
"provinceName": "上海市",
"cityCode": "310100",
"cityName": "上海市",
"districtCode": "310104",
"districtName": "徐汇区",
"address": "xx路xx号x幢",
"fullAddress": "上海市上海市徐汇区xx路xx号x幢",
"defaultAddress": true,
"tag": "公司"
}
],
"success": true,
"errormsg": "",
"errorcode": "0",
"requestId": "fb1411daf4f5413abe93d5c29e416331"
}