curl --location --request GET '/api/category/category/list?id=1'
{
"code": 0,
"msg": "ok",
"data": {
"category_tree": [
{
"category_id": 17,
"category_name": "内衬",
"parent_id": 1,
"category_pic": "",
"children": [
{
"category_id": 22,
"category_name": "T恤",
"parent_id": 17,
"category_pic": "img/gallery/demo/1680081548dyg4S6CsdAZuIFW8eg!!pic.jpeg"
}
]
}
],
"errcode": 0,
"message": ""
}
}