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调用结果 ///