From bd9f32db7a2a01110a876c94e7e721d3f542981a Mon Sep 17 00:00:00 2001 From: lingjingong Date: Thu, 16 Dec 2021 18:02:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=A7=A3=E5=86=B3=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jt808-server/pom.xml | 10 ++++++++-- .../java/com/haidapu/jtserver/JtserverApplication.java | 1 - .../haidapu/jtserver/handler/LocationPackHandler.java | 16 ++++++++-------- .../java/com/haidapu/jtserver/HandlerWrapperTest.java | 2 +- 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/jt808-server/pom.xml b/jt808-server/pom.xml index 467acd5..64859a3 100644 --- a/jt808-server/pom.xml +++ b/jt808-server/pom.xml @@ -50,8 +50,8 @@ - com.haidapu.jt - jt808-core + com.haidapu.jtserver + jtserver-core 1.3.2 @@ -84,6 +84,12 @@ com.alibaba druid-spring-boot-starter + + com.haidapu.jtserver + jtserver-core + 1.3.2 + compile + diff --git a/jt808-server/src/main/java/com/haidapu/jtserver/JtserverApplication.java b/jt808-server/src/main/java/com/haidapu/jtserver/JtserverApplication.java index 513c7ce..7a78922 100644 --- a/jt808-server/src/main/java/com/haidapu/jtserver/JtserverApplication.java +++ b/jt808-server/src/main/java/com/haidapu/jtserver/JtserverApplication.java @@ -1,6 +1,5 @@ package com.haidapu.jtserver; -import com.haidapu.server.jt808.starter.EnableJt808Server; import org.springframework.boot.SpringApplication; import org.springframework.boot.WebApplicationType; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/jt808-server/src/main/java/com/haidapu/jtserver/handler/LocationPackHandler.java b/jt808-server/src/main/java/com/haidapu/jtserver/handler/LocationPackHandler.java index 7737b24..4b36085 100644 --- a/jt808-server/src/main/java/com/haidapu/jtserver/handler/LocationPackHandler.java +++ b/jt808-server/src/main/java/com/haidapu/jtserver/handler/LocationPackHandler.java @@ -1,14 +1,14 @@ package com.haidapu.jtserver.handler; +import com.haidapu.jtserver.core.Jt808Pack; +import com.haidapu.jtserver.core.PackHandler; +import com.haidapu.jtserver.entity.LocationAttachInfo; +import com.haidapu.jtserver.entity.LocationInfo; +import com.haidapu.jtserver.helper.Analyzer; +import com.haidapu.jtserver.helper.ByteArrHelper; +import com.haidapu.jtserver.helper.ResHelper; +import com.haidapu.jtserver.service.DataService; import com.haidapu.jtserver.util.DataHelper; -import com.haidapu.server.jt808.starter.core.Jt808Pack; -import com.haidapu.server.jt808.starter.core.PackHandler; -import com.haidapu.server.jt808.starter.entity.LocationAttachInfo; -import com.haidapu.server.jt808.starter.entity.LocationInfo; -import com.haidapu.server.jt808.starter.helper.Analyzer; -import com.haidapu.server.jt808.starter.helper.ByteArrHelper; -import com.haidapu.server.jt808.starter.helper.ResHelper; -import com.haidapu.server.jt808.starter.service.DataService; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; diff --git a/jtserver-core/src/test/java/com/haidapu/jtserver/HandlerWrapperTest.java b/jtserver-core/src/test/java/com/haidapu/jtserver/HandlerWrapperTest.java index 4e9c2dd..2427ff5 100644 --- a/jtserver-core/src/test/java/com/haidapu/jtserver/HandlerWrapperTest.java +++ b/jtserver-core/src/test/java/com/haidapu/jtserver/HandlerWrapperTest.java @@ -1,4 +1,4 @@ -package com.haidapu.server.jt808.starter.core; +package com.haidapu.jtserver; import com.haidapu.jtserver.config.Const; import org.junit.Assert;