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){