|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- 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<string> sendParams = null);
-
- Task<(string code, string randomNum, string message, string errorType)> SendSmsToMulti(List<string> phoneNumbers,
- SmsType st, List<string> sendParams = null);
- }
-
- /// <summary>
- /// 短信通知类型
- /// </summary>
- public enum SmsType
- {
- /// <summary>
- /// 注册
- /// </summary>
- Register,
- /// <summary>
- /// 第三方(QQ,微信)快捷登录绑定
- /// </summary>
- LoginBind,
- /// <summary>
- /// 忘记密码
- /// </summary>
- ForgetPassWord,
- /// <summary>
- /// 找回密码
- /// </summary>
- FindPassWord,
- ///// <summary>
- ///// 学员请假通知
- ///// </summary>
- //LeaveNotification,
- ///// <summary>
- ///// 学员补课通知
- ///// </summary>
- //MakeUpMissedLessonsNotification,
- ///// <summary>
- ///// 班主任请假提醒
- ///// </summary>
- //ClassManagerLeaveNotification,
- ///// <summary>
- ///// 班主任补课提醒
- ///// </summary>
- //ClassManagerMakeUpMissedLessonsNotification
- }
- }
|