hbsmUniapp/src/types/address.d.ts

28 lines
566 B
TypeScript
Raw Normal View History

2025-08-19 23:31:48 +08:00
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
}