平安校园
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.
 
 
 
 
 
 

50 lines
1.0 KiB

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 会话管理服务
  5. /// </summary>
  6. public interface ISessionService : ITransient
  7. {
  8. /// <summary>
  9. /// 会话统计
  10. /// </summary>
  11. /// <returns>统计结果</returns>
  12. SessionAnalysisOutPut Analysis();
  13. /// <summary>
  14. /// 强退会话
  15. /// </summary>
  16. /// <param name="input">用户ID</param>
  17. Task ExitSession(BaseIdInput input);
  18. /// <summary>
  19. /// 强退token
  20. /// </summary>
  21. /// <param name="input">token列表</param>
  22. Task ExitToken(ExitTokenInput input);
  23. /// <summary>
  24. /// B端会话分页查询
  25. /// </summary>
  26. /// <param name="input">查询参数</param>
  27. /// <returns>B端会话列表</returns>
  28. Task<SqlSugarPagedList<SessionOutput>> PageB(SessionPageInput input);
  29. /// <summary>
  30. /// C端会话分页查询
  31. /// </summary>
  32. /// <param name="input">查询参数</param>
  33. /// <returns>C端会话列表</returns>
  34. Task<SqlSugarPagedList<SessionOutput>> PageC(SessionPageInput input);
  35. }