"data":[{
"code":"XSO00008",
"name":"LAZBOY经营部",
"sonList":[
{
"code":"XSO00072",
"name":"华中中心",
"sonList":[
{
"code":"XSO00185",
"name":"华中一区",
"sonList":[
{
"code":"XSO00608",
"name":"江苏一区",
"sonList":[]
},
{
"code":"XSO00480",
"name":"河南一区",
"sonList":[]
}]
}]
}]
},{
"code":"XSO00008",
"name":"LAZBOY经营部",
"sonList":[
{
"code":"XSO00072",
"name":"华中中心",
"sonList":[
{
"code":"XSO00185",
"name":"华中一区",
"sonList":[
{
"code":"XSO00608",
"name":"江苏一区",
"sonList":[]
},
{
"code":"XSO00480",
"name":"河南一区",
"sonList":[]
}]
}]
}]
}]
变成A数组放一层数据,B数组放二层数据,C数组放三层数据,D数组放四层数据