整理格式!
This commit is contained in:
parent
7ade3af983
commit
bddca76f77
|
@ -83,7 +83,7 @@ namespace Falcon.SugarApi.ApiDefinistions
|
|||
|
||||
#endregion
|
||||
|
||||
|
||||
#region 序列化
|
||||
/// <summary>
|
||||
/// 从对象序列化字符串
|
||||
/// </summary>
|
||||
|
@ -105,6 +105,9 @@ namespace Falcon.SugarApi.ApiDefinistions
|
|||
return JsonSerializer.Deserialize<T>(json);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 模型验证
|
||||
/// <summary>
|
||||
/// 验证模型。如果失败抛出异常
|
||||
/// </summary>
|
||||
|
@ -118,6 +121,8 @@ namespace Falcon.SugarApi.ApiDefinistions
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 抛出异常
|
||||
|
||||
/// <summary>
|
||||
|
@ -157,7 +162,6 @@ namespace Falcon.SugarApi.ApiDefinistions
|
|||
|
||||
#endregion
|
||||
|
||||
|
||||
#region 返回api调用结果
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user