feat: set configs (#3183) (#3243)

Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>
This commit is contained in:
OpenIM-Robot
2025-07-28 11:37:39 +08:00
committed by GitHub
parent e816626b9c
commit b1837434df
3 changed files with 110 additions and 0 deletions
+1
View File
@@ -315,6 +315,7 @@ func newGinRouter(ctx context.Context, client discovery.Conn, cfg *Config) (*gin
configGroup.POST("/get_config_list", cm.GetConfigList)
configGroup.POST("/get_config", cm.GetConfig)
configGroup.POST("/set_config", cm.SetConfig)
configGroup.POST("/set_configs", cm.SetConfigs)
configGroup.POST("/reset_config", cm.ResetConfig)
configGroup.POST("/set_enable_config_manager", cm.SetEnableConfigManager)
configGroup.POST("/get_enable_config_manager", cm.GetEnableConfigManager)