curl --location --request GET 'http://www.likeadmin.localhost/adminapi/file/listCate?type=' \
--header 'token: {{token}}'
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"id": 1,
"pid": 0,
"type": 10,
"name": "顶级文件分类",
"children": [
{
"id": 2,
"pid": 1,
"type": 10,
"name": "分类1"
}
]
}
],
"count": 2,
"page_no": 1,
"page_size": 25,
"extend": []
}
}