From 5f8e20fe412fc4383857462fb562ab75aba6d3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Tue, 24 Mar 2026 09:17:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E5=BC=80=E6=BA=90v6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/api/controller/v1/PublicController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/api/controller/v1/PublicController.php b/crmeb/app/api/controller/v1/PublicController.php index c254dfe4c..2aa0bfe27 100644 --- a/crmeb/app/api/controller/v1/PublicController.php +++ b/crmeb/app/api/controller/v1/PublicController.php @@ -856,7 +856,7 @@ class PublicController ], true); $themeInfo = app()->make(ThemeServices::class)->getThemeInfo($theme_id, $type); - if ($type != 'category' && $themeInfo) { + if (in_array($type, ['home', 'detail', 'user']) && $themeInfo) { foreach ($themeInfo['value'] as &$userDataItem) { if ($userDataItem['name'] == 'customerService') { $userDataItem['routine_contact_type'] = (int)sys_config('routine_contact_type');