From a08f28be2302ce139aecb34765296e2b47afd129 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 04 Mar 2021 00:05:36 +0800
Subject: [PATCH] 体温数据插入
---
blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/JfptApplication.java | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/JfptApplication.java b/blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/JfptApplication.java
index 9fd26cd..9aa3a84 100644
--- a/blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/JfptApplication.java
+++ b/blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/JfptApplication.java
@@ -18,12 +18,11 @@
import org.springblade.core.cloud.feign.EnableBladeFeign;
import org.springblade.core.launch.BladeApplication;
-import org.springblade.core.launch.constant.AppConstant;
import org.springblade.jfpt.nettyServer.Server;
+import org.springblade.jfpt.nettyTcpServer.TcpServer;
+import org.springblade.jfpt.nettyUdpServer.server.UdpServer;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
-import org.springframework.cloud.client.SpringCloudApplication;
/**
* Desk启动器
@@ -41,7 +40,10 @@
@Override
public void run(String... args) throws Exception {
- Server server=new Server(8088);
+ //Server server=new Server(8088);
+ TcpServer server=new TcpServer(8088);
+ //UdpServer udpServer=new UdpServer(8099);
}
+
}
--
Gitblit v1.9.3