获取商品列表

请求地址: 

https://open.dlszywz.cn/open/product/getProList


请求方式:

  • GET

参数:


参数名必选类型说明
tokenstring授权令牌【通过header参数传值】
channel_idstring栏目ID
pageint页数(每页100个商品)


返回示例

{
    "code":200,
    "data":{
        "list":[
            {
                "pid":17788900,
                "proname":"MIEVIC米薇可 2M布纹编织数据线-Android",
                "propicpath":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9688\/19374993_1587968972.jpg?t=7142",
                "prounitprice":"19.90",
                "prounit":"",
                "market_price":"0.00"
            },
            {
                "pid":17765511,
                "proname":"MIEVIC米薇可 圆尾2号尖",
                "propicpath":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9676\/19350872_1587716314.jpg?t=4240",
                "prounitprice":"11.90",
                "prounit":"",
                "market_price":"0.00"
            }
        ]
    },
    "msg":"success code: 200",
    "param":{}
}


返回参数说明

参数名类型说明
pidint产品ID
pronamevarchar名称
propicpathvarchar产品原图
prounitpricedecimal(10,2) 产品价格
prounitvarchar产品单位
market_pricedecimal(10,2) 市场价


备注

  • 更多返回错误代码请看首页的错误代码描述