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, /// /// 开课通知 /// LessionNotification, /// /// 学员请假通知 /// LeaveNotification, /// /// 学员补课通知 /// MakeUpMissedLessonsNotification, /// /// 班主任请假提醒 /// ClassManagerLeaveNotification, /// /// 班主任补课提醒 /// ClassManagerMakeUpMissedLessonsNotification, /// /// 教学工作安排推送 /// EADateArrangeNotification, /// /// 流程提醒 /// WorkFlowNotification } }