添加购物车
POST
cart/add
请求参数
参数名
类型
描述
必填
gid
int
商品ID
必填
num
int
购买数量
必填
spec_id
int
规格ID,如果是多规格的商品必传
可选