文档
测试

获取购物车信息

GET
api/shop_card

请求头

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

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
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
必填
collected
boolean
是否收藏:false
必填
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
必填