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

38 lines
1.3 KiB

  1. using Furion.DependencyInjection;
  2. using MoYu.DependencyInjection;
  3. namespace SafeCampus.Plugin.Core
  4. {
  5. /// <summary>
  6. /// 通知服务
  7. /// </summary>
  8. public interface INoticeService : ISingleton
  9. {
  10. /// <summary>
  11. /// 通知用户下线
  12. /// </summary>
  13. /// <param name="userId">用户ID</param>
  14. /// <param name="clientIds">clientId列表</param>
  15. /// <param name="message">通知内容</param>
  16. /// <returns></returns>
  17. Task UserLoginOut(string userId, List<string> clientIds, string message);
  18. /// <summary>
  19. /// 通知用户修改密码
  20. /// </summary>
  21. /// <param name="userId">用户ID</param>
  22. /// <param name="clientIds">clientId列表</param>
  23. /// <param name="message">通知内容</param>
  24. /// <returns></returns>
  25. Task UpdatePassWord(string userId, List<string> clientIds, string message);
  26. /// <summary>
  27. /// 收到新的消息
  28. /// </summary>
  29. /// <param name="userIds">用户Id列表</param>
  30. /// <param name="clientIds">clientId列表</param>
  31. /// <param name="message"></param>
  32. /// <returns></returns>
  33. Task NewMesage(List<string> userIds, List<string> clientIds, string message);
  34. }
  35. }