using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudGaming.Code.Contract
{
    /// <summary>
    /// 发送手机短信
    /// </summary>
    public interface IPhoneNumberVerificationService
    {
        /// <summary>
        /// 发送验证码到指定的手机号。
        /// </summary>
        /// <param name="phoneNumber">目标手机号。</param>
        /// <param name="code">验证码</param>
        /// <returns>返回操作是否成功。</returns>
        Task<bool> SendVerificationCodeAsync(string phoneNumber, string code);
    }
}
