# 获取审核时可填写的类目信息
本接口可获取已设置的二级类目及用于代码审核的可选三级类目。使用过程中如遇到问题,可在开放平台服务商专区发帖交流。
# 请求地址
GET https://api.weixin.qq.com/wxa/get_category?access_token=ACCESS_TOKEN
# 请求参数说明
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 第三方平台接口调用令牌authorizer_access_token |
# 返回参数说明
# 类目信息说明
参数 | 类型 | 说明 |
---|---|---|
first_class | String | 一级类目名称 |
second_class | String | 二级类目名称 |
third_class | String | 三级类目名称 |
first_id | Number | 一级类目的 ID 编号 |
second_id | Number | 二级类目的 ID 编号 |
third_id | Number | 三级类目的 ID 编号 |
返回结果示例:
{
"errcode":0,
"errmsg": "ok",
"category_list" : [
{
"first_class":"工具",
"second_class":"备忘录",
"first_id":1,
"second_id":2,
}
{
"first_class":"教育",
"second_class":"学历教育",
"third_class":"高等",
"first_id":3,
"second_id":4,
"third_id":5,
}
]
}