增加api请求基类ApiRequestData

This commit is contained in:
FalconFly 2023-09-08 10:01:12 +08:00
parent c8db46053f
commit 5343fd53c2

View File

@ -5,12 +5,19 @@ namespace Falcon.SugarApi.ApiDefinistions
/// <summary>
/// api请求数据
/// </summary>
public class ApiRequestData<T>
public abstract class ApiRequestData
{
/// <summary>
/// 用户凭据
/// </summary>
[JsonPropertyName("usercredential")]
public UserCredential UserCredential { get; set; }
[JsonPropertyName("UserCredential")]
public UserCredential? UserCredential { get; set; }
}
/// <summary>
/// api请求数据
/// </summary>
public abstract class ApiRequestData<T>:ApiRequestData
{
}
}