~~~[api]
get:http://smg.hxpos.com/api/third/getGoods
*string:access_token#令牌
*integer:mchid#門店id
*string:barcode#條形碼
<<<
success
{
"code": "0",
"msg": "查詢成功",
"data": {
"miscode": "13010099",
"caption": "迷你可愛多甜筒 香芋",
"price": 16,
"spec": "",
"unit": "盒",
"photo": "",
"status": "on",
"id": "5a2fad278eba9d5eb0330baf"
}
}
<<<
error
{
"code": "900X",
"msg": "錯誤信息",
"data": {}
}
~~~
返回值list對象說明
|屬性|說明|
|-|-|
|id|商品唯一標識|
|miscode|店內碼|
|caption|商品名稱|
|unit|商品單位|
|spec|商品規格|
|photo|商品圖片URL,可能為空|
|status|門店狀態,on-有效,off-無效|
|price|商品價格|