简要描述:
- 素材分类
请求域名:
- http://xx.com
请求URL:
plugin.material-center.api.centerlist.getCategoryList
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取分类成功!",
"data": [
{
"id": 4,
"name": "一级素材哈哈",
"parent_id": 0,
"display_order": 0,
"childrens": [
{
"id": 6,
"name": "二级素材啧啧",
"display_order": 0
}
]
},
{
"id": 5,
"name": "一级素材*2",
"parent_id": 0,
"display_order": 0,
"childrens": []
}
]
}
错误时返回:
{
"result": 0,
"msg": "暂无分类数据",
"data": []
}
备注:
- 更多返回错误代码请看首页的错误代码描述