mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-05 12:40:52 +08:00
feat: plugin controller config system with guest_comm_config hook integration
- Add HasPluginConfig trait and PluginController base class - Integrate guest_comm_config hook in CommController for plugin frontend config injection - Add user creation functionality to UserService and fix null value handling - Enhance AbstractPlugin.getConfig() with key parameter support - Multiple service layer optimizations and architecture improvements
This commit is contained in:
@@ -72,7 +72,7 @@ class Setting
|
||||
* @param mixed $value
|
||||
* @return bool 设置是否成功
|
||||
*/
|
||||
public function set(string $key, $value = null): bool
|
||||
public function set(string $key, mixed $value = null): bool
|
||||
{
|
||||
$key = strtolower($key);
|
||||
SettingModel::createOrUpdate($key, $value);
|
||||
|
||||
Reference in New Issue
Block a user