From 3aec8a468a981fe142d6e6e30967dc18136db714 Mon Sep 17 00:00:00 2001 From: orgin Date: Mon, 16 Oct 2023 09:14:31 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=88=A0=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/controller/GammaController.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/controller/GammaController.java b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/controller/GammaController.java index 142e3bdb..7b6a7310 100644 --- a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/controller/GammaController.java +++ b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/controller/GammaController.java @@ -3,9 +3,6 @@ package org.jeecg.modules.controller; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.jeecg.common.api.vo.Result; -import org.jeecg.common.base.BaseMap; -import org.jeecg.common.constant.GlobalConstants; -import org.jeecg.common.constant.WebSocketHandlerConst; import org.jeecg.modules.base.bizVo.GammaRLR; import org.jeecg.modules.entity.vo.*; import org.jeecg.modules.feignclient.SystemClient; @@ -39,18 +36,6 @@ public class GammaController { return gammaService.initValue(sampleId, dbName, fileName, request); } - @GetMapping("analysisProcess") - @ApiOperation(value = "分析进度", notes = "分析进度") - public void message(String message) { -// Result user = systemClient.getUserData(); - BaseMap params = new BaseMap(); - params.put(GlobalConstants.HANDLER_NAME, WebSocketHandlerConst.GAMMA_ANALYSIS_HANDLER); - params.put("userId", "message.userId"); - // userId, fileName, process - params.put("message", message); - // 通过 redis 订阅发送 websocket 消息 - redisTemplate.convertAndSend(GlobalConstants.REDIS_TOPIC_NAME, params);; - } @GetMapping("testFun") public Result testFun(String fileName,HttpServletRequest request){