diff --git a/app/index/controller/TopicNas.php b/app/index/controller/TopicNas.php index 2450175d..4ad0a561 100644 --- a/app/index/controller/TopicNas.php +++ b/app/index/controller/TopicNas.php @@ -226,7 +226,7 @@ class TopicNas extends Common View::assign('article', $article); // 获取文章分类及文章数据 - $parent = ArticleCategoryModel::uniqueLabel('CATEGORY_681182e0a4529')->value('id'); + $parent = ArticleCategoryModel::uniqueLabel('CATEGORY_681182e0a4529')->language($this->lang_id)->value('id'); $article_categorys = ArticleCategoryModel::with(['article' => function ($query) { $query->field(['id', 'title', 'category_id']); }])