api返回结果增加异常数据
This commit is contained in:
parent
f4e3c4abf0
commit
6dc3ef807b
|
@ -1,4 +1,5 @@
|
||||||
using System.Text.Json.Serialization;
|
using System;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace Falcon.SugarApi.ApiDefinistions
|
namespace Falcon.SugarApi.ApiDefinistions
|
||||||
{
|
{
|
||||||
|
@ -19,6 +20,10 @@ namespace Falcon.SugarApi.ApiDefinistions
|
||||||
[JsonPropertyName("msg")]
|
[JsonPropertyName("msg")]
|
||||||
public string Msg { get; set; }
|
public string Msg { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// 程序发生的异常
|
||||||
|
/// </summary>
|
||||||
|
public string? Exception { get; set; }
|
||||||
|
/// <summary>
|
||||||
/// 分页结果。如果为null则为未分页
|
/// 分页结果。如果为null则为未分页
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public PageResult? Paging { get; set; }
|
public PageResult? Paging { get; set; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user