Skip to content
On this page

5.2. 根据ID查询收货地址详情

接口说明:

MethodURLContentType
GET/api/v1/delivery-address/application/json

路径参数:

参数类型说明描述
idInteger收货地址ID

返回结果说明:

参数类型说明描述
resultDeliveryAddressRespDTO收货地址详情
successboolean请求是否成功
errormsgstring错误信息
errorcodestring错误码
requestIdstring请求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"
}