update 管理系统用户算力曲线,在离线柱状图
This commit is contained in:
@@ -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中拿币种名、页面显示名、币种对应算法
|
||||
|
||||
Reference in New Issue
Block a user