~~~[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|商品价格|