SseResponseEnum.java 833 B

1234567891011121314151617181920212223242526272829303132
  1. package com.backendsys.modules.sse.entity;
  2. public enum SseResponseEnum {
  3. SYSTEM_USER_UPDATE("system_user_update", "更新用户信息"),
  4. CONNECT("connect", "建立连接"),
  5. DISCONNECT("disconnect", "断开连接"),
  6. LOGOUT("logout", "退出登录"),
  7. NOTICE("notice", "通知"),
  8. UPLOAD("upload", "上传"),
  9. COMFYUI("comfyui", "Comfyui"),
  10. COMFYUI_TASK("comfyui_task", "Comfyui 任务队列"),
  11. OLLAMA("ollama", "Ollama"),
  12. DEEPSEEK("deepseek", "Deepseek"),
  13. HUNYUAN("hunyuan", "Hunyuan");
  14. private String type;
  15. private String message;
  16. public String getType() {
  17. return this.type;
  18. }
  19. public String getMessage() {
  20. return this.message;
  21. }
  22. SseResponseEnum(String type, String message) {
  23. this.type = type;
  24. this.message = message;
  25. }
  26. }