You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
935 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Common.Tools.Message
{
/// <summary>
///短信信息发送相关接口
/// </summary>
public interface ISmsService
{
/// <summary>
/// 短信发送
/// </summary>
/// <param name="MobileList">接收手机号列表多个用,间隔最多不能超过1000个</param>
/// <param name="SmsValue">短信内容 内容和TemplateCode模版ID必须有一项</param>
/// <param name="TemplateCode">模版ID</param>
/// <param name="TemplateParam">模版变量</param>
/// <param name="SignName">短信签名</param>
/// <returns></returns>
Task<ReturnResult<object>> SendSmsAsync(List<string> MobileList,string SmsValue=null,string TemplateCode=null,Dictionary<string,string> TemplateParam=null, string SignName=null);
}
}