修改分类

This commit is contained in:
ouzhiqiang
2025-09-19 10:04:47 +08:00
parent f606dc64a5
commit f0c82c848f

View File

@@ -270,6 +270,7 @@ class TopicNas extends Common
if (!$article_categorys->isEmpty()) {
foreach ($article_categorys->toArray() as $kk=>$vv) {
if ( $parent == $vv['pid'] ) {
$vv['child'] = '';
array_push($article_categorys_new,$vv);
} else {
$article_categorys_two[$vv['pid']][] = $vv;