文档
测试

查询科大讯飞所有分类

POST
/tool/v5/getCategory

请求头

参数名
类型
描述
必填
ACCESSTOKEN
string
登录时返回的token
必填

响应参数

参数名
类型
描述
必填
code
int
返回结果码 1000-成功 非1000-未成功
必填
data
array
返回结果对象
必填
desc
string
分类描述
必填
id
string
分类id(后续查询详情接口重要参数)
必填
intro
string
分类名称
必填
name
string
分类名称
必填
simg
string
封面标题
必填
targetid
string
必填
type
string
分类
必填
message
string
返回结果信息
必填

说明 / 示例

{ "code": 1000, "data": [ { "desc": "风景", "id": "314717", "intro": "风景", "name": "风景", "simg": "http://oss.kuyinyun.com/11W2MYCO/rescloud1/ab2466758c48423e8e0f5783449aca7b.png", "targetid": "314693", "type": "21020002" }, { "desc": "搞笑", "id": "314757", "intro": "搞笑", "name": "搞笑", "simg": "http://oss.kuyinyun.com/11W2MYCO/rescloud1/0512eb6497704d959f24c6530ec5add6.png", "targetid": "314753", "type": "21020002" }, { "desc": "帅哥", "id": "318033", "intro": "帅哥", "name": "帅哥", "simg": "http://oss.kuyinyun.com/11W2MYCO/rescloud1/5778913610ed4ee5a8fb001dd610ff4a.png", "targetid": "314749", "type": "21020003" }, { "desc": "最热", "id": "315893", "intro": "最热", "name": "最热", "simg": "http://oss.kuyinyun.com/11W2MYCO/rescloud1/e615b8659ca14e8599ddb465ed00f384.png", "targetid": "315873", "type": "21020002" }, { "desc": "最新", "id": "315897", "intro": "最新", "name": "最新", "simg": "http://oss.kuyinyun.com/11W2MYCO/rescloud1/9022f61aa7c9409eade2d2954cd5b97b.png", "targetid": "315877", "type": "21020002" }, { "desc": "美女", "id": "318037", "intro": "美女", "name": "美女", "simg": "http://oss.kuyinyun.com/11W2MYCO/rescloud1/39568e1263674044b2b36fc4a1fca51c.png", "targetid": "314701", "type": "21020003" } ], "message": "获取分类列表成功" }