1234567891011121314151617181920212223242526272829303132 |
- package com.backendsys.modules.sse.entity;
- public enum SseResponseEnum {
- SYSTEM_USER_UPDATE("system_user_update", "更新用户信息"),
- CONNECT("connect", "建立连接"),
- DISCONNECT("disconnect", "断开连接"),
- LOGOUT("logout", "退出登录"),
- NOTICE("notice", "通知"),
- UPLOAD("upload", "上传"),
- COMFYUI("comfyui", "Comfyui"),
- COMFYUI_TASK("comfyui_task", "Comfyui 任务队列"),
- OLLAMA("ollama", "Ollama"),
- DEEPSEEK("deepseek", "Deepseek"),
- HUNYUAN("hunyuan", "Hunyuan");
- private String type;
- private String message;
- public String getType() {
- return this.type;
- }
- public String getMessage() {
- return this.message;
- }
- SseResponseEnum(String type, String message) {
- this.type = type;
- this.message = message;
- }
- }
|