真添加购物车记录
POST
http://120.25.208.234:3003/cart/
请求参数
参数名
类型
描述
必填
username
string
示例:xxxx
必填
_id
string
示例:5f8703903f0c43fb25900279
必填
imagePath
string
示例:https://img2.yaya.cn/pic/product/440x440/20190428103244974.jpg
必填
name
string
示例:奸商充电线
必填
profile
string
示例:多款机型兼容,快速充电,携带便捷
必填
price
int
示例:12
必填
priceText
int
示例:145
必填
tag[]
string
示例:苹果原装正品
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
data
array
数据列表
必填
msg
string
示例:success
必填