| | |
| | | @Override |
| | | public void sendBatch(String workspaceId, Integer userType, String bizCode, Object data) { |
| | | if (!StringUtils.hasText(workspaceId)) { |
| | | throw new RuntimeException("Workspace ID does not exist."); |
| | | throw new RuntimeException("项目id不存在:"+workspaceId); |
| | | } |
| | | Collection<ConcurrentWebSocketSession> sessions = Objects.isNull(userType) ? |
| | | webSocketManageService.getValueWithWorkspace(workspaceId) : |
| | |
| | | public void sendBatch(String workspaceId, String bizCode, Object data) { |
| | | this.sendBatch(workspaceId, null, bizCode, data); |
| | | } |
| | | } |
| | | } |