From 8de96f93ff5f93768fd3ae3763a69a4e34fac016 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 17 Dec 2025 12:56:55 +0800
Subject: [PATCH] fix(okxNewPrice): 修复日志打印对象引用问题
---
src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java
index 50bbccb..a199dd4 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java
@@ -34,15 +34,20 @@
//获取WangGeListEnum全部网格参数
WangGeListEnum gridByPrice = WangGeListEnum.getGridByPrice(new BigDecimal(markPx));
+ log.info("获取的网格参数: {}", gridByPrice);
if (gridByPrice == null){
log.error("没有获取到网格参数......");
return null;
}
String shangxianValue = gridByPrice.getJiage_shangxian();
+ log.info("价格上限: {}", shangxianValue);
String xiaxianValue = gridByPrice.getJiage_xiaxian();
+ log.info("价格下限: {}", xiaxianValue);
String jianjuValue = gridByPrice.getJian_ju();
+ log.info("价格间隔: {}", jianjuValue);
String weishuValueStr = gridByPrice.getXiaoshu_weishu();
+ log.info("价格位数: {}", weishuValueStr);
try {
BigDecimal shangxian = new BigDecimal(shangxianValue);
--
Gitblit v1.9.1