Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

65 rindas
1.7 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Quanjiang.DigitalScholl.SendSms
  7. {
  8. public interface ISms
  9. {
  10. Task<(string code, string randomNum, string message, string errorType)> SendSmsToSingle(string phoneNumber,
  11. SmsType st, List<string> sendParams = null);
  12. Task<(string code, string randomNum, string message, string errorType)> SendSmsToMulti(List<string> phoneNumbers,
  13. SmsType st, List<string> sendParams = null);
  14. }
  15. /// <summary>
  16. /// 短信通知类型
  17. /// </summary>
  18. public enum SmsType
  19. {
  20. /// <summary>
  21. /// 注册
  22. /// </summary>
  23. Register,
  24. /// <summary>
  25. /// 第三方(QQ,微信)快捷登录绑定
  26. /// </summary>
  27. LoginBind,
  28. /// <summary>
  29. /// 忘记密码
  30. /// </summary>
  31. ForgetPassWord,
  32. /// <summary>
  33. /// 开课通知
  34. /// </summary>
  35. LessionNotification,
  36. /// <summary>
  37. /// 学员请假通知
  38. /// </summary>
  39. LeaveNotification,
  40. /// <summary>
  41. /// 学员补课通知
  42. /// </summary>
  43. MakeUpMissedLessonsNotification,
  44. /// <summary>
  45. /// 班主任请假提醒
  46. /// </summary>
  47. ClassManagerLeaveNotification,
  48. /// <summary>
  49. /// 班主任补课提醒
  50. /// </summary>
  51. ClassManagerMakeUpMissedLessonsNotification,
  52. /// <summary>
  53. /// 教学工作安排推送
  54. /// </summary>
  55. EADateArrangeNotification,
  56. /// <summary>
  57. /// 流程提醒
  58. /// </summary>
  59. WorkFlowNotification
  60. }
  61. }