HaniBlindBox/server/HoneyBox/src/HoneyBox.Model/Models/Auth/BindMobileRequest.cs
2026-01-04 01:47:02 +08:00

41 lines
816 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace HoneyBox.Model.Models.Auth;
/// <summary>
/// 微信授权绑定手机号请求
/// </summary>
public class BindMobileRequest
{
/// <summary>
/// 微信授权code
/// </summary>
public string Code { get; set; } = string.Empty;
}
/// <summary>
/// 验证码绑定手机号请求
/// </summary>
public class BindMobileWithCodeRequest
{
/// <summary>
/// 手机号
/// </summary>
public string Mobile { get; set; } = string.Empty;
/// <summary>
/// 短信验证码
/// </summary>
public string Code { get; set; } = string.Empty;
}
/// <summary>
/// H5绑定手机号请求无需验证码
/// </summary>
public class BindMobileH5Request
{
/// <summary>
/// 手机号
/// </summary>
public string Mobile { get; set; } = string.Empty;
}