feat: update plugin/config api

This commit is contained in:
xboard
2025-07-09 18:07:38 +08:00
parent 103b5ddbd6
commit 59263da76e
+2 -1
View File
@@ -35,7 +35,8 @@ class PluginConfigService
'label' => $item['label'] ?? '', 'label' => $item['label'] ?? '',
'placeholder' => $item['placeholder'] ?? '', 'placeholder' => $item['placeholder'] ?? '',
'description' => $item['description'] ?? '', 'description' => $item['description'] ?? '',
'value' => $dbConfig[$key] ?? $item['default'] 'value' => $dbConfig[$key] ?? $item['default'],
'options' => $item['options'] ?? []
]; ];
} }