hbsmUniapp/src/types/address.d.ts
2025-08-19 23:31:48 +08:00

28 lines
566 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { PageResult } from './global'
/** 添加收货地址: 请求参数 */
export type addressParams = {
/** 收货人姓名 */
name: string
/** 联系方式 */
phone: string
/** 省份编码 */
province: string
/** 城市编码 */
city: string
/** 区/县编码 */
county: string
/** 详细地址 */
address: string
/** 默认地址1为是0为否 */
is_default: number
}
/** 收货地址项 */
export type addressItem = addressParams & {
/** 收货地址 id */
id: number
/** 省市区 */
full_location: string
}