文档
测试

获取创建订单信息

POST
http://39.105.217.42:8081/index/index/getOrder

请求头

参数名
类型
描述
必填
Content-Type
string
application/x-www-form-urlencoded
必填

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
token
string
1
必填
pid
string
[{"pid":2,"num":1}] json格式 pid 商品id num 商品数量
必填

响应参数

参数名
类型
描述
必填
meta
object
数据字典
必填
msg
string
示例:获取成功
必填
status
int
示例:200
必填
message
array
数据列表 商品信息
必填
price
int
示例:1232 价格
必填
pname
string
示例:商品名字
必填
chooseNum
int
示例:2 数量
必填
pid
int
示例:2
必填
img_path
string
示例:http://39.105.217.42:8081/static/img/jieke.webp 图片地址
必填
calculate
object
数据字典
必填
countPrice
int
示例:1232 全部商品价格
必填
zhekou
int
示例:230 折扣减免价格
必填
discounts
object
数据字典 优惠券
必填
money
string
示例:满10减2
必填
id
int
示例:1 优惠券id
必填
distribution
int
示例:5 运费
必填
count
int
示例:1005 计算完后总价
必填