💳 订票/询价
POST
park/book
请求参数
application/x-www-form-urlencoded参数名
类型
描述
必填
token
str
用户登录令牌token
必填
pid
int
景区ID
必填
tidStr
str
JSON编码的票种数组,详见介绍
必填
date
str
预约日期,如 2022-03-01
必填
phone
int
联系电话
必填
ucid
int
用户优惠券ID(可选)
可选
getPrice
int
是否只获取价格,1是0否
必填
响应参数
application/json参数名
类型
描述
必填
code
int
错误码,0正确,大于0表示有错误
必填
msg
str
错误信息,ok 或 错误信息
必填
data
mixed
如果getPrice=0,返回门票支付单号,如果getPrice=1,返回价格信息
必填