28 lines
566 B
TypeScript
28 lines
566 B
TypeScript
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
|
||
}
|