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"
}