diff --git a/pom.xml b/pom.xml index 4bfa264..3a386bc 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,6 @@ com.github.ben-manes.caffeine caffeine - org.springframework.boot spring-boot-starter-web diff --git a/src/main/java/org/alis/.DS_Store b/src/main/java/org/alis/.DS_Store new file mode 100644 index 0000000..77d0568 Binary files /dev/null and b/src/main/java/org/alis/.DS_Store differ diff --git a/src/main/java/org/alis/blackchain/.DS_Store b/src/main/java/org/alis/blackchain/.DS_Store new file mode 100644 index 0000000..d850428 Binary files /dev/null and b/src/main/java/org/alis/blackchain/.DS_Store differ diff --git a/src/main/java/org/alis/blackchain/AlisChainApplication.java b/src/main/java/org/alis/blackchain/AlisChainApplication.java index 357f888..d9a391b 100644 --- a/src/main/java/org/alis/blackchain/AlisChainApplication.java +++ b/src/main/java/org/alis/blackchain/AlisChainApplication.java @@ -7,12 +7,12 @@ import org.springframework.boot.builder.SpringApplicationBuilder; @SpringBootApplication public class AlisChainApplication { - public static void main(String[] args) { - new SpringApplicationBuilder() - .sources(AlisChainApplication.class) - .main(AlisChainApplication.class) - .web(WebApplicationType.SERVLET) - .run(args); - } + public static void main(String[] args) { + new SpringApplicationBuilder() + .sources(AlisChainApplication.class) + .main(AlisChainApplication.class) + .web(WebApplicationType.SERVLET) + .run(args); + } } diff --git a/src/main/java/org/alis/blackchain/service/OkxExchangeAdapter.java b/src/main/java/org/alis/blackchain/service/OkxExchangeAdapter.java index 76d9bfc..afdb369 100644 --- a/src/main/java/org/alis/blackchain/service/OkxExchangeAdapter.java +++ b/src/main/java/org/alis/blackchain/service/OkxExchangeAdapter.java @@ -1,7 +1,6 @@ package org.alis.blackchain.service; import cn.hutool.core.lang.Pair; -import cn.hutool.core.net.URLEncodeUtil; import cn.hutool.core.net.url.UrlBuilder; import cn.hutool.core.net.url.UrlPath; import cn.hutool.core.util.IdUtil; @@ -14,7 +13,6 @@ import cn.hutool.json.JSONUtil; import lombok.extern.slf4j.Slf4j; import org.alis.blackchain.annotation.ExchangeCommand; import org.alis.blackchain.constanst.ExchangeEnum; -import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import org.springframework.stereotype.Service; import org.springframework.util.StringUtils; @@ -24,7 +22,6 @@ import javax.crypto.spec.SecretKeySpec; import java.math.BigDecimal; import java.net.InetSocketAddress; import java.net.Proxy; -import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.time.LocalDateTime; import java.time.ZoneId;