增加api请求基类ApiRequestData
This commit is contained in:
parent
c8db46053f
commit
5343fd53c2
|
@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user