diff --git a/Falcon.SugarApi/ApiDefinistions/ApiResult.cs b/Falcon.SugarApi/ApiDefinistions/ApiResult.cs index 582ce0e..d629151 100644 --- a/Falcon.SugarApi/ApiDefinistions/ApiResult.cs +++ b/Falcon.SugarApi/ApiDefinistions/ApiResult.cs @@ -1,4 +1,5 @@ -using System.Text.Json.Serialization; +using System; +using System.Text.Json.Serialization; namespace Falcon.SugarApi.ApiDefinistions { @@ -19,6 +20,10 @@ namespace Falcon.SugarApi.ApiDefinistions [JsonPropertyName("msg")] public string Msg { get; set; } /// + /// 程序发生的异常 + /// + public string? Exception { get; set; } + /// /// 分页结果。如果为null则为未分页 /// public PageResult? Paging { get; set; }