feat: update plugin/config api

This commit is contained in:
xboard
2025-07-09 18:07:38 +08:00
parent 103b5ddbd6
commit 59263da76e

View File

@@ -35,7 +35,8 @@ class PluginConfigService
'label' => $item['label'] ?? '',
'placeholder' => $item['placeholder'] ?? '',
'description' => $item['description'] ?? '',
'value' => $dbConfig[$key] ?? $item['default']
'value' => $dbConfig[$key] ?? $item['default'],
'options' => $item['options'] ?? []
];
}