【程序目录】更新开源v6.0

This commit is contained in:
吴昊天 2026-03-24 09:17:05 +08:00
parent 2692cf6a6d
commit 5f8e20fe41

View File

@ -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');