32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
TypeScript
|
|
export interface PublishBallFormData {
|
|
title: string // 球局标题
|
|
image_list: string[] // 球局封面
|
|
timeRange: {
|
|
start_time: string,
|
|
end_time: string
|
|
}
|
|
activityInfo: {
|
|
play_type: string // 玩法类型
|
|
price: number | string // 价格
|
|
venue_id?: number | null // 场地id
|
|
location_name?: string // 场地名称
|
|
location?: string // 场地地址
|
|
latitude?: string // 纬度
|
|
longitude?: string // 经度
|
|
court_type?: string // 场地类型 1: 室内 2: 室外
|
|
court_surface?: string // 场地表面 1: 硬地 2: 红土 3: 草地
|
|
venue_description_tag?: string[] // 场地描述标签
|
|
venue_description?: string // 场地描述
|
|
venue_image_list?: string[] // 场地图片
|
|
}
|
|
players: [number, number] // 人数要求
|
|
skill_level: [number, number] // 水平要求(NTRP)
|
|
descriptionInfo: {
|
|
description: string // 备注
|
|
description_tag: string[] // 备注标签
|
|
}
|
|
is_substitute_supported: boolean // 是否支持替补
|
|
is_wechat_contact: boolean // 是否需要微信联系
|
|
wechat_contact: string // 微信联系
|
|
} |