From dbf3ad78b04ce42092a7f4df7b7830405b07e054 Mon Sep 17 00:00:00 2001
From: root <295172551@qq.com>
Date: Fri, 27 Jun 2025 00:53:57 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E8=8B=8F=E6=89=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
LTEMvcApp/Models/NetworkConfig.cs | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/LTEMvcApp/Models/NetworkConfig.cs b/LTEMvcApp/Models/NetworkConfig.cs
index 8dd48f5..f047082 100644
--- a/LTEMvcApp/Models/NetworkConfig.cs
+++ b/LTEMvcApp/Models/NetworkConfig.cs
@@ -1,3 +1,6 @@
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
namespace LTEMvcApp.Models
{
///
@@ -5,10 +8,19 @@ namespace LTEMvcApp.Models
///
public class NetworkConfigResponse
{
+ [JsonPropertyName("data")]
public List Data { get; set; } = new();
+
+ [JsonPropertyName("isSuccess")]
public bool IsSuccess { get; set; }
+
+ [JsonPropertyName("message")]
public string Message { get; set; } = string.Empty;
+
+ [JsonPropertyName("errorCode")]
public string ErrorCode { get; set; } = string.Empty;
+
+ [JsonPropertyName("statusCode")]
public int StatusCode { get; set; }
}
@@ -20,31 +32,37 @@ namespace LTEMvcApp.Models
///
/// 配置键
///
+ [JsonPropertyName("configKey")]
public string ConfigKey { get; set; } = string.Empty;
///
/// RAN配置路径
///
+ [JsonPropertyName("ragConfig")]
public string RagConfig { get; set; } = string.Empty;
///
/// 核心或IMS配置
///
- public List