摘要:
function getTree($data) { $items = []; foreach ($data as $v){ $items[$v['id']] = $v; } $tree = array(); //格式化好的树 foreach ($items as $item) if (isset($ 阅读全文
posted @ 2021-12-27 20:58 君子不卿 阅读(255) 评论(0) 推荐(0) 编辑
posted @ 2021-12-27 20:58 君子不卿 阅读(255) 评论(0) 推荐(0) 编辑
Copyright © 2024 君子不卿
Powered by .NET 9.0 on Kubernetes