feat: 新增用户端配置获取和批量更新接口
主要修改: 1. 在SystemConfigController中新增获取用户端配置的接口。 2. 实现批量更新系统配置的接口,支持根据配置键进行更新。 3. 增强SystemConfigService,添加用户端相关配置的获取方法及配置值验证逻辑。 技术细节: - 新增的接口提升了系统配置管理的灵活性,支持批量操作和用户端配置的动态获取。
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package com.gameplatform.server.model.dto.admin;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class BatchSystemConfigRequest {
|
||||
private List<SystemConfigUpdateItem> configs;
|
||||
|
||||
public List<SystemConfigUpdateItem> getConfigs() { return configs; }
|
||||
public void setConfigs(List<SystemConfigUpdateItem> configs) { this.configs = configs; }
|
||||
|
||||
public static class SystemConfigUpdateItem {
|
||||
private String configKey;
|
||||
private String configValue;
|
||||
private String configType;
|
||||
private String description;
|
||||
|
||||
public String getConfigKey() { return configKey; }
|
||||
public void setConfigKey(String configKey) { this.configKey = configKey; }
|
||||
|
||||
public String getConfigValue() { return configValue; }
|
||||
public void setConfigValue(String configValue) { this.configValue = configValue; }
|
||||
|
||||
public String getConfigType() { return configType; }
|
||||
public void setConfigType(String configType) { this.configType = configType; }
|
||||
|
||||
public String getDescription() { return description; }
|
||||
public void setDescription(String description) { this.description = description; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user