Interface AddressDTO
一条收货地址。
| Name | Data Type | Required | Description |
|---|---|---|---|
| addressId | string | Yes | 地址 ID |
| recipient | string | Yes | 收件人姓名 |
| region | string | Yes | 省 / 州、城市等地区描述 |
| detail | string | Yes | 详细地址 |
| postcode | string | No | 邮政编码 |
| isDefault | boolean | Yes | 是否默认地址 |
| createdAt | string | Yes | 创建时间 |
| updatedAt | string | Yes | 最近更新时间 |
type AddressDTO = {
/** 地址 ID */
addressId: string
/** 收件人姓名 */
recipient: string
/** 省 / 州、城市等地区描述 */
region: string
/** 详细地址 */
detail: string
/** 邮政编码 */
postcode?: string
/** 是否默认地址 */
isDefault: boolean
/** 创建时间 */
createdAt: string
/** 最近更新时间 */
updatedAt: string
}{
"addressId": "01JD8SNQ7N9R2W8YR3V6YEL0W4F",
"recipient": "陈林",
"region": "上海市 浦东新区",
"detail": "张江高科技园区博云路 2 号 501 室",
"postcode": "201203",
"isDefault": true,
"createdAt": "2026-10-14T11:20:00Z",
"updatedAt": "2026-10-14T11:20:00Z"
}