基本信息
Path: /api/copyright/getCopyrightSort
Method: POST
接口描述:
不带参数copyright_sort_id 为查询全部 否则为查询当前分类和下一级分类
请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
app_id | text | 是 | cade4e832627b4f6 | 应用ID |
access_token | text | 是 | $2y$10$1.95n48hP6e40OdltY04JO6dobvqFGwpvUaEiIoZkzMWywh3HIgGq | 授权token |
signature | text | 是 | dcce9a38a014ec0157c89eeef831eb82 | 签名 |
nonce | text | 是 | 72a4f2736b080a2464f8e4ae12e4fc77 | MD5(时间戳) |
timestamp | text | 是 | 1577330898 | 时间戳 |
copyright_sort_id | text | 否 | 146 | 版权分类ID |
返回数据
{
"status": 200,
"msg": "分类查询成功",
"time": 1577692361,
"data": {
"146": {
"id": 146,
"sort_name": "外语类",
"pid": 43,
"grade": 3,
"son": {
"147": {
"id": 147,
"sort_name": "雅思",
"pid": 146,
"grade": 4
},
"148": {
"id": 148,
"sort_name": "托福",
"pid": 146,
"grade": 4
},
"149": {
"id": 149,
"sort_name": "商务英语",
"pid": 146,
"grade": 4
},
"150": {
"id": 150,
"sort_name": "澳洲留学",
"pid": 146,
"grade": 4
},
"151": {
"id": 151,
"sort_name": "英国留学",
"pid": 146,
"grade": 4
},
"152": {
"id": 152,
"sort_name": "GRE",
"pid": 146,
"grade": 4
},
"153": {
"id": 153,
"sort_name": "出国留学",
"pid": 146,
"grade": 4
},
"154": {
"id": 154,
"sort_name": "英语四级",
"pid": 146,
"grade": 4
},
"155": {
"id": 155,
"sort_name": "英语六级",
"pid": 146,
"grade": 4
},
"156": {
"id": 156,
"sort_name": "BEC",
"pid": 146,
"grade": 4
},
"157": {
"id": 157,
"sort_name": "GMAT",
"pid": 146,
"grade": 4
},
"158": {
"id": 158,
"sort_name": "自考英语",
"pid": 146,
"grade": 4
},
"159": {
"id": 159,
"sort_name": "职称英语",
"pid": 146,
"grade": 4
},
"160": {
"id": 160,
"sort_name": "公共英语",
"pid": 146,
"grade": 4
},
"161": {
"id": 161,
"sort_name": "职称日语",
"pid": 146,
"grade": 4
},
"162": {
"id": 162,
"sort_name": "口译笔译",
"pid": 146,
"grade": 4
},
"163": {
"id": 163,
"sort_name": "英语三级",
"pid": 146,
"grade": 4
},
"164": {
"id": 164,
"sort_name": "专四专八",
"pid": 146,
"grade": 4
},
"165": {
"id": 165,
"sort_name": "ACT",
"pid": 146,
"grade": 4
},
"166": {
"id": 166,
"sort_name": "SAT",
"pid": 146,
"grade": 4
}
}
}
}
}