修改小程序类目

接口说明:

  1. POST https://openapi.baidu.com/rest/2.0/smartapp/app/category/update

请求参数:

参数名类型是否必须描述
access_tokenstring授权小程序的接口调用凭据
categorysjson类目类别

categorys示例:

  1. [{
    "sub_category_id": 197, //类目id
    "qualis": [{
    "id": 1, //资质id
    "addr": "https://b.bdstatic.com/searchbox/mappconsole/image/20180903/1535970481267095.jpg" //认证内容
    }]
    }, {
    "sub_category_id": 2,
    "qualis": [{
    "id": 1,
    "addr": "https://b.bdstatic.com/searchbox/mappconsole/image/20180903/1535970498145990.jpg"
    }]
    }]

响应数据:

  1. {
    "errno": 0,
    "msg": "success"
    }