From 2a19ee5317d2ed22b85b77b32151844c68705fb4 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Tue, 3 Jun 2025 11:35:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Nas=E4=B8=93=E9=A2=98=20-=20=E5=B8=AE?= =?UTF-8?q?=E5=8A=A9=E4=B8=AD=E5=BF=83=E8=AF=A6=E6=83=85bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/TopicNas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); }])