23 lines
488 B
C#
23 lines
488 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ChouBox.Code.Contract;
|
|
|
|
/// <summary>
|
|
/// 发送验证码
|
|
/// </summary>
|
|
public interface ISendVerificationCode
|
|
{
|
|
/// <summary>
|
|
/// 发送验证码
|
|
/// </summary>
|
|
/// <param name="code"></param>
|
|
/// <param name="expireTime"></param>
|
|
/// <returns></returns>
|
|
public Task<bool> SendVerificationCode(string code, int expireTime);
|
|
|
|
}
|