update 管理系统用户算力曲线,在离线柱状图

This commit is contained in:
yyb
2025-06-30 14:50:45 +08:00
parent 0b2decafc9
commit 5a8e59336a
21 changed files with 788 additions and 191 deletions

View File

@@ -102,6 +102,7 @@ public class PoolServiceImpl implements PoolService {
//全网算力 调用转换工具 动态转换为数值+单位
dto.setTotalPower(PowerUnitUtils.powerFormat(info.getPower(),pool.getCoin()));
dto.setHeight(info.getHeight());
//System.out.println("dto"+dto);
}else {
System.out.println("未能从节点获取到信息");
@@ -109,7 +110,7 @@ public class PoolServiceImpl implements PoolService {
BigDecimal price = redisService.getCacheObject(pool.getCoin() + "_price");
dto.setPrice(price.toEngineeringString()+ " USD");
dto.setHeight(info.getHeight());
}
//从enums中拿币种名、页面显示名、币种对应算法