文档
测试

下单页面

POST
http://lx.vtui365.com?s=api/project/page_prepay

请求头

参数名
类型
描述
必填
token
string
示例:test-token
必填

请求参数

参数名
类型
描述
必填
s
string
示例:api/project/page_prepay
必填
cart
string
示例:[{"id":"1","amount":"2"},{"id":"2","amount":"1"}]
必填
project_id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
price_total
string
示例:140.00
必填
bail_total
string
示例:0.05
必填
total
string
示例:140.05
必填
insure
string
示例:0.01
必填
tips
string
示例:<p>购票须知</p>
必填
items
array
数据列表
必填
id
int
示例:1
必填
project_id
int
示例:1
必填
title
string
示例:单人游船套餐
必填
image_id
int
示例:1
必填
description
string
示例:
必填
tag
string
示例:123
必填
price
string
示例:20.00
必填
num_sale
int
示例:0
必填
need_bail
int
示例:1
必填
price_bail
string
示例:0.02
必填
bail_rule
int
示例:10
必填
bail_ded
string
示例:0.01
必填
weigh
int
示例:101
必填
is_delete
int
示例:0
必填
create_time
string
示例:2021-03-30 11:00:16
必填
update_time
string
示例:2021-03-31 21:14:30
必填
status
int
示例:1
必填
image
string
示例:http://lx.vtui365.com/uploads/2021032916513129f243217.png
必填
card_id
int
示例:1
必填
amount
string
示例:2
必填
price_total
string
示例:40.00
必填
bail_total
string
示例:0.04
必填