diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..10b37d0
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,162 @@
+
+
+ 4.0.0
+
+ com.casic
+ rain_receiver
+ 1.0-SNAPSHOT
+ jar
+
+
+ UTF-8
+ UTF-8
+ 1.8
+ 1.8
+ 1.8
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter
+ 2.1.3.RELEASE
+
+
+
+ org.springframework.boot
+ spring-boot-starter-tomcat
+ 2.1.3.RELEASE
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+ 2.1.3.RELEASE
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-jdbc
+ 2.1.3.RELEASE
+
+
+
+ mysql
+ mysql-connector-java
+ 8.0.16
+ compile
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ 3.4.3
+
+
+
+
+ org.projectlombok
+ lombok
+ 1.18.20
+
+
+
+ io.netty
+ netty-all
+ 4.1.36.Final
+
+
+
+
+ com.alibaba
+ druid
+ 1.2.6
+
+
+
+ com.alibaba
+ fastjson
+ 1.2.73
+
+
+
+
+ com.baomidou
+ mybatis-plus-generator
+ 3.3.2
+
+
+
+ com.baomidou
+ mybatis-plus
+ 3.4.3
+
+
+
+ com.baomidou
+ mybatis-plus-generator
+ 3.5.1
+
+
+ org.springframework.boot
+ spring-boot-starter-freemarker
+ 2.7.4
+
+
+
+ org.freemarker
+ freemarker
+ 2.3.28
+ compile
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.1.3.RELEASE
+
+ true
+
+ com.casic.CasicApplication
+ exec
+
+
+
+
+ repackage
+
+
+
+
+
+
+
+
+
+ src/main/resources
+
+
+ /config/*/*
+ /config/*-*.yml
+
+ true
+
+
+ src/main/resources
+
+ **/*.xml
+
+ true
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..10b37d0
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,162 @@
+
+
+ 4.0.0
+
+ com.casic
+ rain_receiver
+ 1.0-SNAPSHOT
+ jar
+
+
+ UTF-8
+ UTF-8
+ 1.8
+ 1.8
+ 1.8
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter
+ 2.1.3.RELEASE
+
+
+
+ org.springframework.boot
+ spring-boot-starter-tomcat
+ 2.1.3.RELEASE
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+ 2.1.3.RELEASE
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-jdbc
+ 2.1.3.RELEASE
+
+
+
+ mysql
+ mysql-connector-java
+ 8.0.16
+ compile
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ 3.4.3
+
+
+
+
+ org.projectlombok
+ lombok
+ 1.18.20
+
+
+
+ io.netty
+ netty-all
+ 4.1.36.Final
+
+
+
+
+ com.alibaba
+ druid
+ 1.2.6
+
+
+
+ com.alibaba
+ fastjson
+ 1.2.73
+
+
+
+
+ com.baomidou
+ mybatis-plus-generator
+ 3.3.2
+
+
+
+ com.baomidou
+ mybatis-plus
+ 3.4.3
+
+
+
+ com.baomidou
+ mybatis-plus-generator
+ 3.5.1
+
+
+ org.springframework.boot
+ spring-boot-starter-freemarker
+ 2.7.4
+
+
+
+ org.freemarker
+ freemarker
+ 2.3.28
+ compile
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.1.3.RELEASE
+
+ true
+
+ com.casic.CasicApplication
+ exec
+
+
+
+
+ repackage
+
+
+
+
+
+
+
+
+
+ src/main/resources
+
+
+ /config/*/*
+ /config/*-*.yml
+
+ true
+
+
+ src/main/resources
+
+ **/*.xml
+
+ true
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/com/casic/CasicApplication.java b/src/main/java/com/casic/CasicApplication.java
new file mode 100644
index 0000000..71ea928
--- /dev/null
+++ b/src/main/java/com/casic/CasicApplication.java
@@ -0,0 +1,23 @@
+package com.casic;
+
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.context.annotation.ComponentScan;
+
+/**
+ * SpringBoot方式启动类
+ *
+ * @author cz
+ * @Date 2023/03/23 14:28
+ */
+
+@Slf4j
+@ComponentScan(basePackages= "com.casic.**")
+@SpringBootApplication
+public class CasicApplication {
+ public static void main(String[] args) {
+ log.info("CasicApplication is success!");
+ SpringApplication.run(CasicApplication.class, args);
+ }
+}
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..10b37d0
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,162 @@
+
+
+ 4.0.0
+
+ com.casic
+ rain_receiver
+ 1.0-SNAPSHOT
+ jar
+
+
+ UTF-8
+ UTF-8
+ 1.8
+ 1.8
+ 1.8
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter
+ 2.1.3.RELEASE
+
+
+
+ org.springframework.boot
+ spring-boot-starter-tomcat
+ 2.1.3.RELEASE
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+ 2.1.3.RELEASE
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-jdbc
+ 2.1.3.RELEASE
+
+
+
+ mysql
+ mysql-connector-java
+ 8.0.16
+ compile
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ 3.4.3
+
+
+
+
+ org.projectlombok
+ lombok
+ 1.18.20
+
+
+
+ io.netty
+ netty-all
+ 4.1.36.Final
+
+
+
+
+ com.alibaba
+ druid
+ 1.2.6
+
+
+
+ com.alibaba
+ fastjson
+ 1.2.73
+
+
+
+
+ com.baomidou
+ mybatis-plus-generator
+ 3.3.2
+
+
+
+ com.baomidou
+ mybatis-plus
+ 3.4.3
+
+
+
+ com.baomidou
+ mybatis-plus-generator
+ 3.5.1
+
+
+ org.springframework.boot
+ spring-boot-starter-freemarker
+ 2.7.4
+
+
+
+ org.freemarker
+ freemarker
+ 2.3.28
+ compile
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.1.3.RELEASE
+
+ true
+
+ com.casic.CasicApplication
+ exec
+
+
+
+
+ repackage
+
+
+
+
+
+
+
+
+
+ src/main/resources
+
+
+ /config/*/*
+ /config/*-*.yml
+
+ true
+
+
+ src/main/resources
+
+ **/*.xml
+
+ true
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/com/casic/CasicApplication.java b/src/main/java/com/casic/CasicApplication.java
new file mode 100644
index 0000000..71ea928
--- /dev/null
+++ b/src/main/java/com/casic/CasicApplication.java
@@ -0,0 +1,23 @@
+package com.casic;
+
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.context.annotation.ComponentScan;
+
+/**
+ * SpringBoot方式启动类
+ *
+ * @author cz
+ * @Date 2023/03/23 14:28
+ */
+
+@Slf4j
+@ComponentScan(basePackages= "com.casic.**")
+@SpringBootApplication
+public class CasicApplication {
+ public static void main(String[] args) {
+ log.info("CasicApplication is success!");
+ SpringApplication.run(CasicApplication.class, args);
+ }
+}
diff --git a/src/main/java/com/casic/handler/ReceiverDecoder.java b/src/main/java/com/casic/handler/ReceiverDecoder.java
new file mode 100644
index 0000000..a5cdb29
--- /dev/null
+++ b/src/main/java/com/casic/handler/ReceiverDecoder.java
@@ -0,0 +1,24 @@
+package com.casic.handler;
+
+import io.netty.buffer.ByteBuf;
+import io.netty.buffer.ByteBufUtil;
+import io.netty.channel.ChannelHandlerContext;
+import io.netty.handler.codec.MessageToMessageDecoder;
+import lombok.extern.slf4j.Slf4j;
+
+import java.nio.charset.Charset;
+import java.util.List;
+
+/**
+ * @description: 将从接口取到的数据编码
+ * @author: Stone
+ * @create: 2019-01-11 15:15
+ **/
+@Slf4j
+public class ReceiverDecoder extends MessageToMessageDecoder {
+ @Override
+ protected void decode(ChannelHandlerContext ctx, ByteBuf msg, List