diff --git a/CoreAgent.Application/Handlers/NetworkConfig/Commands/CreateNetworkConfigurationCommandHandler.cs b/CoreAgent.Application/Handlers/NetworkConfig/Commands/CreateNetworkConfigurationCommandHandler.cs index e4373cc..72d7325 100644 --- a/CoreAgent.Application/Handlers/NetworkConfig/Commands/CreateNetworkConfigurationCommandHandler.cs +++ b/CoreAgent.Application/Handlers/NetworkConfig/Commands/CreateNetworkConfigurationCommandHandler.cs @@ -8,42 +8,6 @@ using MediatR; namespace CoreAgent.Application.Handlers.NetworkConfig.Commands { - /// - /// 创建网络配置命令 - /// - public class CreateNetworkConfigurationCommand : IRequest - { - /// - /// 配置键值 - /// - public string ConfigKey { get; set; } - - /// - /// RAN配置文件路径 - /// - public string RagConfig { get; set; } - - /// - /// 核心网和IMS配置列表 - /// - public List CoreOrImsConfigs { get; set; } - - /// - /// APN配置 - /// - public string Apn { get; set; } - - /// - /// 频段配置 - /// - public List Band { get; set; } - - /// - /// 配置说明 - /// - public string Comment { get; set; } - } - /// /// 创建网络配置命令处理器 /// diff --git a/CoreAgent.Domain/Entities/NetworkConfiguration.cs b/CoreAgent.Domain/Entities/NetworkConfiguration.cs index e68be2d..0a17737 100644 --- a/CoreAgent.Domain/Entities/NetworkConfiguration.cs +++ b/CoreAgent.Domain/Entities/NetworkConfiguration.cs @@ -181,7 +181,7 @@ namespace CoreAgent.Domain.Entities /// 核心网配置文件路径 /// [Required(ErrorMessage = "核心网配置路径不能为空")] - [RegularExpression(@"^Config/CoreNetwork/.*\.cfg$", ErrorMessage = "核心网配置路径格式不正确")] + //[RegularExpression(@"^Config/CoreNetwork/.*\.cfg$", ErrorMessage = "核心网配置路径格式不正确")] [JsonPropertyName("coreNetworkConfig")] public string CoreNetworkConfig { get; set; } @@ -189,7 +189,7 @@ namespace CoreAgent.Domain.Entities /// IMS配置文件路径 /// [Required(ErrorMessage = "IMS配置路径不能为空")] - [RegularExpression(@"^Config/Ims/.*\.cfg$", ErrorMessage = "IMS配置路径格式不正确")] + //[RegularExpression(@"^Config/Ims/.*\.cfg$", ErrorMessage = "IMS配置路径格式不正确")] [JsonPropertyName("imsConfig")] public string ImsConfig { get; set; } }