curl --location --request GET '/adminapi/goods.goods_category/commonLists' \
--header 'token: 217ba8ac94c48c81403500017f8c13fc'{
"code": 1,
"show": 0,
"msg": "获取成功",
"data": [
{
"id": 5,
"name": "家电维修",
"pid": 0,
"level": 1
},
{
"id": 1,
"name": "家庭清洁",
"pid": 0,
"level": 1,
"sons": [
{
"id": 2,
"name": "日常清洁",
"pid": 1,
"level": 2,
"sons": [
{
"id": 3,
"name": "旧屋清洁",
"pid": 2,
"level": 3
}
]
}
]
}
]
}