Administrator
2025-12-05 317d9176c6e4a0a629dbb79aca49d8ec192a6cab
src/main/java/com/xcong/excoin/modules/newPrice/OkxNewPriceWebSocketClient.java
File was renamed from src/main/java/com/xcong/excoin/modules/okxNewPrice/OkxNewPriceWebSocketClient.java
@@ -1,4 +1,4 @@
package com.xcong.excoin.modules.okxNewPrice;
package com.xcong.excoin.modules.newPrice;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
@@ -9,6 +9,7 @@
import lombok.extern.slf4j.Slf4j;
import org.java_websocket.client.WebSocketClient;
import org.java_websocket.handshake.ServerHandshake;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
@@ -27,6 +28,7 @@
 */
@Slf4j
@Component
@ConditionalOnProperty(prefix = "app", name = "websocket", havingValue = "true")
public class OkxNewPriceWebSocketClient {
    @Resource
    private WebsocketPriceService websocketPriceService;