2 Commits

Author SHA1 Message Date
ouzhiqiang
62b3e2798f Merge branch 'ozq-dev' into dev 2025-09-18 16:08:29 +08:00
ouzhiqiang
bfeac736ea 修改分类 2025-09-18 16:08:05 +08:00

View File

@@ -275,6 +275,11 @@ class TopicNas extends Common
$article_categorys_two[$vv->pid][] = $vv;
}
}
if ( !empty($article_categorys_two) ) {
foreach ($article_categorys_new as &$vvv) {
$vvv['child'] = isset($article_categorys_two[$vvv->pid])?$article_categorys_two[$vvv->pid]:'';
}
}
}
dump($article_categorys_new);
dump($article_categorys_two);exit;