using Furion.FriendlyException; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ApiTools.Core { public interface ISmsService { /// /// 发送短信 /// /// /// 手机号码 /// 模板代码 /// 模板参数 /// 取消令牌 /// /// Task SendAsync(string signName, string phoneNumber, EnumSmsTemplateCode templateCode, object templateParam, CancellationToken cancellationToken); } }