摘要: function buildTree(array $flat, $pidKey = 'pid', $idKey = 'id', $childrenKey = 'children') { $grouped = []; foreach ($flat as $sub) { $grouped[$sub[$p 阅读全文
posted @ 2023-04-27 09:12 楼前竹 阅读(35) 评论(0) 推荐(0)