# header頭加入token
~~~[api]
post:/api/merchant/Index/goodsList
*string:shopid=默認值 #門店id
*string:runmod=默認值 #門店模式0餐飲1零售商品
string:goods_status=默認值 #1上架中 2已售罄 3下架中
*string:page=默認值 #當前頁
string:entry=默認值 #展示條數
string:cateid=默認值 #分類id
<<<
success
{
"code": 0,
"msg": "",
"time": "1624938639",
"data": {
"count": 1100,
"goods_list": [
{
"id": 2480,
"pcate": 5,
"marketprice": "10.00",
"title": "羊雜烙饃卷",
"store": 0,
"istore": 0,
"taste": "",
"dangkou": {
"title": "\t周口大食堂-花石羊肉湯",
"id": 281
},
"thumb": "",
"goodscategory": {
"title": "冷飲",
"id": 5
}
},
{
"id": 2481,
"pcate": 5,
"marketprice": "1.00",
"title": "手工烙饃",
"store": 0,
"istore": 0,
"taste": "",
"dangkou": {
"title": "\t周口大食堂-花石羊肉湯",
"id": 281
},
"thumb": "",
"goodscategory": {
"title": "冷飲",
"id": 5
}
},
{
"id": 2482,
"pcate": 5,
"marketprice": "15.00",
"title": "燴面",
"store": 0,
"istore": 0,
"taste": "",
"dangkou": 104,
"thumb": "",
"goodscategory": {
"title": "冷飲",
"id": 5
}
},
{
"id": 2483,
"pcate": 5,
"marketprice": "78.00",
"title": "醬牛肉",
"store": 0,
"istore": 0,
"taste": "",
"dangkou": 104,
"thumb": "",
"goodscategory": {
"title": "冷飲",
"id": 5
}
},
{
"id": 2484,
"pcate": 5,
"marketprice": "10.00",
"title": "芥菜絲",
"store": 0,
"istore": 0,
"taste": "",
"dangkou": 104,
"thumb": "",
"goodscategory": {
"title": "冷飲",
"id": 5
}
}
]
}
}
<<<
error
{
"code":?-1,
"msg":?"錯誤信息",
"data":?null
}
~~~
**返回信息**
| 參數 | 參數類型 | 必須 | 說明|
| ----------- | ----------- | ------------ | --- |
|id | string |true|商品id|
|pcate | string |true|分類id|
|marketprice | string |true|市場價|
|title | string |true|商品名|
|store | string |true|庫存數|
|istore | string |true|0不記庫存1記庫存|
|dangkou.title | string |true|檔口名|
|goodscategory.title | string |true|分類名|
|goodsn | string |true|商品條碼|
|taste | string |true|口味|
|thumb | string |true|圖片地址|
- 返回狀態說明
- 商戶h5端接口
- 商戶登陸接口
- 商戶登出接口
- 商戶首頁數據接口
- 商戶獲取門店列表接口
- 獲取門店首頁數據接口
- 商戶設備系列
- 收銀機管理列表
- 品牌列表
- 收銀機型號列表
- 門店列表
- 添加收銀機
- 編輯收銀機
- 獲取設備總數
- 打印機列表
- 獲取打印機型號列表
- 添加打印機
- 打印機詳情
- 編輯打印機
- 收銀機詳情
- 商品分類列表接口
- 商品列表接口
- 商品搜索接口
- 條碼獲取商品信息
- 圖片上傳接口oss
- 分類管理獲取商品分類列表
- 新增或編輯分類
- 商品分類排序
- 根據id獲取分類信息
- 商品分類狀態更改
- 門店設備管理
- 門店收銀機管理
- 門店打印機管理
- 獲取設備場景信息
- 場景設置
- 門店商品新增或編輯接口(零售)
- 通過商品Id獲取商品詳細信息
- 門店菜品新增或編輯接口(餐飲)
- 微信掃一掃
- 商戶訂單列表
- 門店訂單列表
- 訂單詳情
- 訂單退款
- 終端資產管理
- 登錄
- 退出
- 識別設備類型
- 采購入庫
- 退貨入庫
- 設備維修獲取設備信息
- 維修設備
- 損毀
- 設備查詢非POS
- 掃一掃