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

65 lines
1.2 KiB

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 事件总线常量
  5. /// </summary>
  6. public class EventSubscriberConst
  7. {
  8. #region AuthEventSubscriber
  9. /// <summary>
  10. /// B端登录
  11. /// </summary>
  12. public const string LOGIN_B = "B端登录";
  13. /// <summary>
  14. /// B端登录
  15. /// </summary>
  16. public const string LOGIN_OUT_B = "B端登出";
  17. #endregion AuthEventSubscriber
  18. #region UserEventSubscriber
  19. /// <summary>
  20. /// 清除用户缓存
  21. /// </summary>
  22. public const string CLEAR_USER_CACHE = "清除用户缓存";
  23. /// <summary>
  24. /// 清除组织下用户Token
  25. /// </summary>
  26. public const string CLEAR_ORG_TOKEN = "清除组织下用户Token";
  27. /// <summary>
  28. /// 清除模块下用户Token
  29. /// </summary>
  30. public const string CLEAR_MODULE_TOKEN = "清除模块下用户Token";
  31. #endregion UserEventSubscriber
  32. #region NoticeEventSubscriber
  33. /// <summary>
  34. /// 通知用户下线
  35. /// </summary>
  36. public const string USER_LOGIN_OUT = "通知用户下线";
  37. /// <summary>
  38. /// 新消息
  39. /// </summary>
  40. public const string NEW_MESSAGE = "新消息";
  41. #endregion NoticeEventSubscriber
  42. }