From 69b6671569ab1a5feaceaa234db3627c6061c405 Mon Sep 17 00:00:00 2001 From: linwl <304115325@qq.com> Date: Tue, 19 Jan 2021 09:27:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=B0docker=E5=A4=96?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DipperDataAsyncTaskController.java | 16 ++++++++-------- .../handler/NettyServerHandler.java | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/telpo/dipperposition/controller/DipperDataAsyncTaskController.java b/src/main/java/com/telpo/dipperposition/controller/DipperDataAsyncTaskController.java index 70b1032..fbf8b6a 100644 --- a/src/main/java/com/telpo/dipperposition/controller/DipperDataAsyncTaskController.java +++ b/src/main/java/com/telpo/dipperposition/controller/DipperDataAsyncTaskController.java @@ -37,14 +37,14 @@ public class DipperDataAsyncTaskController { public void pullAstEPH() { dipperDataAsyncTaskService.pullAstEPH(); } - - /* - * 获取星历数据 - */ - public String getAstEPH() { - log.info("DipperDataAsyncTaskController serverAddr = " + serverAddr); - return dipperDataAsyncTaskService.getAstEPH(); - } +// +// /* +// * 获取星历数据 +// */ +// public String getAstEPH() { +// log.info("DipperDataAsyncTaskController serverAddr = " + serverAddr); +// return dipperDataAsyncTaskService.getAstEPH(); +// } @RequestMapping("/getPos") diff --git a/src/main/java/com/telpo/dipperposition/handler/NettyServerHandler.java b/src/main/java/com/telpo/dipperposition/handler/NettyServerHandler.java index 28f23a4..7895106 100644 --- a/src/main/java/com/telpo/dipperposition/handler/NettyServerHandler.java +++ b/src/main/java/com/telpo/dipperposition/handler/NettyServerHandler.java @@ -156,7 +156,7 @@ public class NettyServerHandler extends ChannelInboundHandlerAdapter { // if (dipperDataAsyncTaskService == null) { // dipperDataAsyncTaskService = new DipperDataAsyncTaskServiceImpl(); // } - channelAns = dipperDataAsyncTaskController.getAstEPH(); + // channelAns = dipperDataAsyncTaskController.getAstEPH(); } log.info(channelAns);