文档
测试

计算价格

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

请求头

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

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
items
array
数据列表
必填
id
string
示例:1
必填
amount
string
示例:2
必填
price_total
string
示例:40.00
必填
bail_total
string
示例:0.04
必填
price_total
string
示例:140.00
必填
bail_total
string
示例:0.05
必填
total
string
示例:140.05
必填