using System.Threading.Tasks; using GxPress.Request.App.VerificationCode; namespace GxPress.Service.Interface.VerificationCode { public interface IVerificationCodeService : IService { /// /// 生成验证码 /// /// Task GetCodeAsync(int userId); /// /// 生成验证码 /// /// Task ConfirmationCodeAsync(VerificationCodeRequest request); /// /// 持久连接验证码 /// /// Task LastingConfirmationCodeAsync(VerificationCodeRequest request); } }