diff --git a/pom.xml b/pom.xml index a9a4f70..f6810cd 100644 --- a/pom.xml +++ b/pom.xml @@ -8,11 +8,11 @@ 2.7.9 - org.alis.excel - easy-excel + org.alis.blackchain + alis-chain 0.0.1-SNAPSHOT - easy-excel - excel 处理 + alis-chain + exchange about 1.8 @@ -92,7 +92,7 @@ - easy-excel + alis-chain org.springframework.boot diff --git a/src/main/java/org/alis/excel/.DS_Store b/src/main/java/org/alis/blackchain/.DS_Store similarity index 100% rename from src/main/java/org/alis/excel/.DS_Store rename to src/main/java/org/alis/blackchain/.DS_Store diff --git a/src/main/java/org/alis/excel/EasyExcelApplication.java b/src/main/java/org/alis/blackchain/AlisChainApplication.java similarity index 70% rename from src/main/java/org/alis/excel/EasyExcelApplication.java rename to src/main/java/org/alis/blackchain/AlisChainApplication.java index 19c9a43..c5c8c02 100644 --- a/src/main/java/org/alis/excel/EasyExcelApplication.java +++ b/src/main/java/org/alis/blackchain/AlisChainApplication.java @@ -1,16 +1,16 @@ -package org.alis.excel; +package org.alis.blackchain; import org.springframework.boot.WebApplicationType; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; @SpringBootApplication -public class EasyExcelApplication { +public class AlisChainApplication { public static void main(String[] args) { new SpringApplicationBuilder() - .sources(EasyExcelApplication.class) - .main(EasyExcelApplication.class) + .sources(AlisChainApplication.class) + .main(AlisChainApplication.class) .web(WebApplicationType.NONE) .run(args); } diff --git a/src/main/java/org/alis/excel/service/BinanceService.java b/src/main/java/org/alis/blackchain/service/BinanceService.java similarity index 53% rename from src/main/java/org/alis/excel/service/BinanceService.java rename to src/main/java/org/alis/blackchain/service/BinanceService.java index aa63722..cdd9fee 100644 --- a/src/main/java/org/alis/excel/service/BinanceService.java +++ b/src/main/java/org/alis/blackchain/service/BinanceService.java @@ -1,29 +1,10 @@ -package org.alis.excel.service; +package org.alis.blackchain.service; -import cn.hutool.core.lang.Pair; -import cn.hutool.core.net.url.UrlBuilder; -import cn.hutool.http.HttpConfig; -import cn.hutool.http.HttpRequest; -import cn.hutool.http.Method; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.CommandLineRunner; -import org.springframework.stereotype.Service; -import javax.annotation.Resource; -import javax.crypto.Mac; -import javax.crypto.spec.SecretKeySpec; import java.math.BigDecimal; -import java.net.InetSocketAddress; -import java.net.Proxy; -import java.nio.charset.StandardCharsets; -import java.time.LocalDateTime; -import java.time.ZoneId; -import java.time.ZoneOffset; -import java.time.ZonedDateTime; -import java.time.format.DateTimeFormatter; -import java.util.Base64; -import java.util.List; /** * @author lc diff --git a/src/main/java/org/alis/excel/service/Exchange.java b/src/main/java/org/alis/blackchain/service/Exchange.java similarity index 91% rename from src/main/java/org/alis/excel/service/Exchange.java rename to src/main/java/org/alis/blackchain/service/Exchange.java index 9dc4510..1a3dae4 100644 --- a/src/main/java/org/alis/excel/service/Exchange.java +++ b/src/main/java/org/alis/blackchain/service/Exchange.java @@ -1,4 +1,4 @@ -package org.alis.excel.service; +package org.alis.blackchain.service; import cn.hutool.core.lang.Pair; diff --git a/src/main/java/org/alis/excel/service/OkrExchangeAdapter.java b/src/main/java/org/alis/blackchain/service/OkrExchangeAdapter.java similarity index 98% rename from src/main/java/org/alis/excel/service/OkrExchangeAdapter.java rename to src/main/java/org/alis/blackchain/service/OkrExchangeAdapter.java index ca94d9c..c6643e9 100644 --- a/src/main/java/org/alis/excel/service/OkrExchangeAdapter.java +++ b/src/main/java/org/alis/blackchain/service/OkrExchangeAdapter.java @@ -1,4 +1,4 @@ -package org.alis.excel.service; +package org.alis.blackchain.service; import cn.hutool.core.lang.Pair; import cn.hutool.core.net.url.UrlBuilder; @@ -24,7 +24,6 @@ import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.util.*; -import java.util.concurrent.ThreadLocalRandom; /** * okr交易所