修改分类

This commit is contained in:
ouzhiqiang
2025-09-18 16:08:05 +08:00
parent 8a617c06e9
commit bfeac736ea

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;