"0": {
"id": "13771131",
"it_id": "596668952682",
"se_id": "60646",
"type": "普通客户",
},
"1": {
"id": "13815758",
"it_id": "606881786356",
"se_id": "30956",
"type": "普通客户",
},
"2": {.....................
重构结果
"0": {
"id": "13771131",
"it_id": "596668952682",
"type": "普通客户",
},
"1": {
"id": "13815758",
"it_id": "606881786356",
"type": "普通客户",
},
"2": {.....................
https://blog.csdn.net/qq1084235321/article/details/79968796
foreach ($data as &$value) {
unset($value['se_id']);
}
foreach ($arr as $key=>$value) {
unset($arr[$key]['se_id']);
}