From bddca76f777148b6edad2bb5af7990158209f69e Mon Sep 17 00:00:00 2001
From: FalconFly <12919280+falconfly@user.noreply.gitee.com>
Date: Tue, 6 Jun 2023 11:34:23 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E6=A0=BC=E5=BC=8F=EF=BC=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs b/Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs
index 4befa96..7515599 100644
--- a/Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs
+++ b/Falcon.SugarApi/ApiDefinistions/ApiControllerBase.cs
@@ -83,7 +83,7 @@ namespace Falcon.SugarApi.ApiDefinistions
#endregion
-
+ #region 序列化
///
/// 从对象序列化字符串
///
@@ -105,6 +105,9 @@ namespace Falcon.SugarApi.ApiDefinistions
return JsonSerializer.Deserialize(json);
}
+ #endregion
+
+ #region 模型验证
///
/// 验证模型。如果失败抛出异常
///
@@ -118,6 +121,8 @@ namespace Falcon.SugarApi.ApiDefinistions
}
}
+ #endregion
+
#region 抛出异常
///
@@ -157,7 +162,6 @@ namespace Falcon.SugarApi.ApiDefinistions
#endregion
-
#region 返回api调用结果
///