文档
测试

购物车到结算页

POST
goods/cartInfo

接口描述

在购物车中选择要结算的商品,提交选中购物车的编号

请求头

参数名
类型
描述
必填
Accept-Language
string
zh-CN,zh;
必填

请求参数

参数名
类型
描述
必填
data
string
多个已逗号分隔
必填

响应参数

参数名
类型
描述
必填
reduces
array
降价优惠列表
必填
title
string
优惠标题:第12件后,123折
必填
price
int
优惠价格:0
必填
total_price
int
总价格:255
必填
freight_charge
int
运费价格:0
必填
payment
int
支付价格:235
必填
data
array
分组数据列表
必填
title
string
优惠标题:第12件后,123折
必填
reduces
object
降价优惠
必填
title
string
优惠标题:第12件后,123折
必填
price
int
优惠价格:0
必填
items
array
数据列表
必填
id
int
购物车:244
必填
shop_id
int
店铺编号:1
必填
member_id
int
会员:24
必填
goods_id
int
商品:66
必填
coupon_id
object
优惠卷:null
必填
activity_id
int
活动:8
必填
spec_ids
string
规格:49,51
必填
spec_txt
string
规格描述:粉色,XXL
必填
goods_num
int
产品数量:3
必填
goods_price
string
产品价格:15.00
必填
total_price
string
总价格:45.00
必填
delivery_address
string
邮寄地址:["370000","370100","370102"]
必填
created_at
string
示例:2020-07-09T07:38:23.000000Z
必填
updated_at
string
示例:2020-07-17T08:22:47.000000Z
必填
discounts
int
优惠单价:0
必填
goods
object
商品
必填
id
int
商品:66
必填
cover_img_url
string
封面:https://img.mofyi.com/202007/1614464697702.jpeg
必填
fare_id
object
运费模板:null
必填
weight
string
净重:1.00
必填
title
object
数据字典
必填
goods_id
int
示例:66
必填
title
string
示例:only
必填
origin_place
string
示例:212
必填
description
object
示例:null
必填
remark
object
示例:null
必填