api返回结果增加异常数据

This commit is contained in:
FalconFly 2023-11-06 12:01:31 +08:00
parent f4e3c4abf0
commit 6dc3ef807b

View File

@ -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; }
/// <summary>
/// 程序发生的异常
/// </summary>
public string? Exception { get; set; }
/// <summary>
/// 分页结果。如果为null则为未分页
/// </summary>
public PageResult? Paging { get; set; }