diff --git a/app/index/controller/TopicNas.php b/app/index/controller/TopicNas.php index 70e15097..16660eb9 100644 --- a/app/index/controller/TopicNas.php +++ b/app/index/controller/TopicNas.php @@ -290,6 +290,7 @@ class TopicNas extends Common // 获取文章数据 $articles = ArticleModel::field([ 'id', + 'category_id', 'title' ]) ->withSearch(['title'], [ diff --git a/app/index/view/pc/topic_nas/help_detail.html b/app/index/view/pc/topic_nas/help_detail.html index 4f21258d..705affe3 100644 --- a/app/index/view/pc/topic_nas/help_detail.html +++ b/app/index/view/pc/topic_nas/help_detail.html @@ -42,7 +42,14 @@