You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
834 B
40 lines
834 B
namespace Admin.NET.Core.Service;
|
|
|
|
public class GenAuthUrlInput
|
|
{
|
|
/// <summary>
|
|
/// RedirectUrl
|
|
/// </summary>
|
|
public string RedirectUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// Scope
|
|
/// </summary>
|
|
public string Scope { get; set; }
|
|
}
|
|
|
|
public class WechatOAuth2Input
|
|
{
|
|
/// <summary>
|
|
/// Code
|
|
/// </summary>
|
|
[Required(ErrorMessage = "Code不能为空"), MinLength(10, ErrorMessage = "Code错误")]
|
|
public string Code { get; set; }
|
|
}
|
|
|
|
public class WechatUserLogin
|
|
{
|
|
/// <summary>
|
|
/// OpenId
|
|
/// </summary>
|
|
[Required(ErrorMessage = "微信标识不能为空"), MinLength(10, ErrorMessage = "微信标识长错误")]
|
|
public string OpenId { get; set; }
|
|
}
|
|
|
|
public class SignatureInput
|
|
{
|
|
/// <summary>
|
|
/// Url
|
|
/// </summary>
|
|
public string Url { get; set; }
|
|
}
|