百度智能小程序第三方接入获取小程序类目的接口地址和参数说明

接口说明:

GET https://openapi.baidu.com/rest/2.0/smartapp/app/category/list
    

请求参数:

参数名                 类型   是否必须  描述

access_token     string      是        授权小程序的接口调用凭据。    

category_type    int          是        获取所有类目,固定值为:2 。    

返回值示例:

{
   "data": [
     {
       id: "1",
       category_name: "快递业与邮政",
       category_type: "2",
       subItems: {
           2: {
               id: "2",
               category_name: "快递",
               category_type: "2",
               need_quali: "1",
               category_quali: "{"desc":"请上传《快递业务经营许可证》","list":[[{"id":1,"must":1,"name":"快递业务经营许可证","desc":""}]]}"
           },
           3: {
               id: "3",
               category_name: "邮政",
               category_type: "2",
               need_quali: "0",
               category_quali: ""
            },
           ...
       } ,
       ...
    ],
   "errno": 0,
   "msg": "success"
}    

发表评论

邮箱地址不会被公开。 必填项已用*标注

联系我们

在线咨询:点击这里给我发消息