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