添加购物车
POST
{{test}}/api/goods/SaveCartGoodsAdd
请求头
参数名
类型
描述
必填
token
string
示例:
必填
请求参数
参数名
类型
描述
必填
buy_type
int
示例:1 1立即购买 2加入购物车
必填
goods_id
int
示例:22 商品id
必填
attrs
string
示例:44_46 如果有规格,则必填,多个规格id用英文_隔开
必填
goods_number
int
示例:1 数量
必填
service_id
1 服务保障id
必填