#### 請求庫存
~~~[api]
get:/goods/${goodsId}/queryGoodsInventory
<<<
success
{
"retCode": 0,
"retMsg": "success",
"responseInfo": 20
}
<<<
error
{
"retCode": !0,
"retMsg": "errMsg"
}
~~~
#### 添加到購物車
~~~[api]
post:/cart/addGoodsCart
userId=3191#用戶id(int)
goods_properties_id=red:m#屬性組合id(string)
property=[{}]#屬性信息(array)
price=1#現價(double)
goodsPrice=2#原價(double)
goodsId=1234_1#商品id(string)
goodsName=xxxx#商品名稱(string)
imgPath=xxxx#圖片地址(string)
storeId=1#店鋪id(int)
count=10#購買數量
shipPrice=0#運費(double)
totalPrice=1#總價(double)
status=1#商品狀態(int)
<<<
success
{
"retCode": 0,
"retMsg": "success",
"responseInfo": {
buyCount,
totalPrice
}
}
<<<
error
{
"retCode": !0,
"retMsg": "errMsg"
}
~~~