From 73d1b473a8ee352070fdbb68b53cf2a9b3a50572 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 08 Jan 2026 15:49:52 +0800
Subject: [PATCH] fix(okxNewPrice): 修复网格列表枚举中的价格范围配置

---
 src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxNewPriceWebSocketClient.java |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxNewPriceWebSocketClient.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxNewPriceWebSocketClient.java
index 0c855f3..8629dde 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxNewPriceWebSocketClient.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxNewPriceWebSocketClient.java
@@ -114,7 +114,7 @@
 
     private static final String WS_URL_MONIPAN = "wss://wspap.okx.com:8443/ws/v5/public";
     private static final String WS_URL_SHIPAN = "wss://ws.okx.com:8443/ws/v5/public";
-    private static final boolean isAccountType = true;
+    private static final boolean isAccountType = false;
 
     /**
      * 建立与 OKX WebSocket 服务器的连接。
@@ -434,9 +434,7 @@
     private void sendPing() {
         try {
             if (webSocketClient != null && webSocketClient.isOpen()) {
-                JSONObject ping = new JSONObject();
-                ping.put("op", "ping");
-                webSocketClient.send(ping.toJSONString());
+                webSocketClient.send("ping");
                 log.debug("发送ping请求");
             }
         } catch (Exception e) {

--
Gitblit v1.9.1