增加api请求基类ApiRequestData
This commit is contained in:
parent
c8db46053f
commit
5343fd53c2
|
@ -5,12 +5,19 @@ namespace Falcon.SugarApi.ApiDefinistions
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// api请求数据
|
/// api请求数据
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ApiRequestData<T>
|
public abstract class ApiRequestData
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户凭据
|
/// 用户凭据
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("usercredential")]
|
[JsonPropertyName("UserCredential")]
|
||||||
public UserCredential UserCredential { get; set; }
|
public UserCredential? UserCredential { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// api请求数据
|
||||||
|
/// </summary>
|
||||||
|
public abstract class ApiRequestData<T>:ApiRequestData
|
||||||
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user