+++
get:/category
<<<
success
{
"success": true,
"data": [
{
"catid": 527,
"catname": "技能包",
"modelid": 1 //栏目类型 1 文章类型 57 视频类型
},
{
"catid": 526,
"catname": "星座控",
"modelid": 1
}
]
}
<<<
error
{
"success": false,
"data": {
"name": "Unauthorized",
"message": "Sign签名验证失败",
"code": 0,
"status": 401,
"type": "yii\\web\\HttpException"
}
}
+++
### header头信息:
| 参数名 | 参数值 |
| --- | --- |
| Accept | application/json |
| DeviceId | 310995000000000|
| Sign | e67ce2f83ca715552c7040c6801e020f |
注意:
**存在缓存 默认缓存时间为30秒**