using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Quanjiang.DigitalScholl.SendSms { public interface ISms { Task<(string code, string randomNum, string message, string errorType)> SendSmsToSingle(string phoneNumber, SmsType st, List sendParams = null); Task<(string code, string randomNum, string message, string errorType)> SendSmsToMulti(List phoneNumbers, SmsType st, List sendParams = null); } /// /// 短信通知类型 /// public enum SmsType { /// /// 注册 /// Register, /// /// 第三方(QQ,微信)快捷登录绑定 /// LoginBind, /// /// 忘记密码 /// ForgetPassWord, /// /// 找回密码 /// FindPassWord, ///// ///// 学员请假通知 ///// //LeaveNotification, ///// ///// 学员补课通知 ///// //MakeUpMissedLessonsNotification, ///// ///// 班主任请假提醒 ///// //ClassManagerLeaveNotification, ///// ///// 班主任补课提醒 ///// //ClassManagerMakeUpMissedLessonsNotification } }