购物车添加商品
GET
http://localhost:8888/rlg/cart/tjgwc.do
接口描述
购物车添加商品
请求参数
参数名
类型
描述
必填
pid
Integer
商品id
必填
num
Integer
商品数量
必填
user_id
String
用户id
可选
order_no
bigint
订单号
可选
product_id
Integer
商品id
可选
product_name
String
商品名称
可选
product_image
String
商品图片地址
可选
current_unit_price
decimal
生成订单时的商品单价,单位元,保留两位小数
可选
quantity
Integer
商品数量
可选
total_price
decimal
商品总价,单位元,保留两位小数
可选
响应参数
参数名
类型
描述
必填
code
Integer
接口请求状态码
必填
message
String
接口请求返回信息
可选
data
返回数据
可选