获取商品类别

请求地址: 

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


请求方式:

  • GET

参数:


参数名必选类型说明
tokenstring授权令牌 【通过header参数传值】
channel_idstring栏目ID



返回示例

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
    "code":200,
    "data":{
        "list":[{
            "channelid":21918256,
            "channelname":"MIEVIC",
            "channelorder_sort":0,
            "classlist":[
                {
                    "id":5774895,
                    "classname":"秒杀专区",
                    "type":"1",
                    "parentid":0,
                    "order_sort":0
                },
                {
                    "id":5683762,
                    "classname":"特价专区",
                    "type":"2",
                    "parentid":5678943,
                    "order_sort":0
                }
            ]
        }]
    },
    "msg":"success code: 200",
    "param":{}
}


返回参数说明

参数名类型说明
channelIdint栏目ID
channelnamevarchar栏目名称
channelorder_sortint栏目排序(越大越靠前)
classlistarray栏目下的类别列表 
idint类别ID
classnamevarchar类别名称
typeint类别层级(1大类 2小类 3小小类)
parentidint类别父级
order_sortint类别排序(越大越靠前)


备注

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



客服中心
联系方式
0516-83890101
15351673301
18952206801
- 客服
- 业务
- 技术
seo seo