namespace Admin.NET.Core.Service;
public class GenAuthUrlInput
{
///
/// RedirectUrl
///
public string RedirectUrl { get; set; }
///
/// Scope
///
public string Scope { get; set; }
}
public class WechatOAuth2Input
{
///
/// Code
///
[Required(ErrorMessage = "Code不能为空"), MinLength(10, ErrorMessage = "Code错误")]
public string Code { get; set; }
}
public class WechatUserLogin
{
///
/// OpenId
///
[Required(ErrorMessage = "微信标识不能为空"), MinLength(10, ErrorMessage = "微信标识长错误")]
public string OpenId { get; set; }
}
public class SignatureInput
{
///
/// Url
///
public string Url { get; set; }
}