Authorization: Bearer ********************curl --location '/api/article/category/tree' \
--header 'Accept: application/json' \
--header 'X-Requested-With: XMLHttpRequest' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 23,
"name": "\u884c\u653f\u7ba1\u7406",
"key": "category-23",
"image": "http:\/\/local.dcat-admin-demo.host\/storage\/article\/category\/fee5ff370f6324b1407a466d9c5d8753.jpg",
"ext": [],
"parent_id": 0,
"children": [
{
"id": 25,
"name": "\u540e\u52e4\u670d\u52a1",
"key": "category-25",
"image": null,
"ext": null,
"parent_id": 23
},
{
"id": 24,
"name": "\u884c\u653f\u7ba1\u7406",
"key": "category-24",
"image": null,
"ext": null,
"parent_id": 23
}
]
}
],
"code": 200,
"message": ""
}