From 4fd36143be178220f05f86c8ec172f9020900daf Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sun, 07 Aug 2022 13:32:06 +0800
Subject: [PATCH] fix:web3j version

---
 src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java |    2 +-
 src/main/resources/application-dev.yml                              |    2 +-
 pom.xml                                                             |   14 +++++++++++---
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index b74e6b0..ad8e741 100644
--- a/pom.xml
+++ b/pom.xml
@@ -341,21 +341,29 @@
         <dependency>
             <groupId>com.squareup.okhttp3</groupId>
             <artifactId>okhttp</artifactId>
-            <version>3.6.0</version>
+            <version>4.9.0</version>
         </dependency>
 
         <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/logging-interceptor -->
         <dependency>
             <groupId>com.squareup.okhttp3</groupId>
             <artifactId>logging-interceptor</artifactId>
-            <version>3.6.0</version>
+            <version>4.9.0</version>
         </dependency>
+
+        <!-- https://mvnrepository.com/artifact/com.squareup.okio/okio -->
+        <dependency>
+            <groupId>com.squareup.okio</groupId>
+            <artifactId>okio</artifactId>
+            <version>2.8.0</version>
+        </dependency>
+
 
         <!-- https://mvnrepository.com/artifact/org.web3j/parity -->
         <dependency>
             <groupId>org.web3j</groupId>
             <artifactId>parity</artifactId>
-            <version>4.5.10</version>
+            <version>4.8.7</version>
             <exclusions>
                 <exclusion>
                     <artifactId>core</artifactId>
diff --git a/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java b/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java
index 5a6ca8e..bc52a0b 100644
--- a/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java
+++ b/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java
@@ -71,7 +71,7 @@
                 // 默认为 windows时才自动打开页面
                 if (StringUtils.containsIgnoreCase(os, FebsConstant.SYSTEM_WINDOWS)) {
                     //使用默认浏览器打开系统登录页
-                    Runtime.getRuntime().exec("cmd  /c  start " + url);
+//                    Runtime.getRuntime().exec("cmd  /c  start " + url);
                 }
             }
         }
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 66f6107..df0fa72 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -65,5 +65,5 @@
 
 system:
   online-transfer: false
-  chain-listener: false
+  chain-listener: true
   trade-job: false
\ No newline at end of file

--
Gitblit v1.9.1