update 新增2miners 实时算力更新 定时任务

This commit is contained in:
yyb
2026-01-28 12:09:21 +08:00
parent 40f8e7a0ab
commit f8d1bdf819
6 changed files with 182 additions and 18 deletions

View File

@@ -903,7 +903,7 @@ public class LeaseOrderInfoServiceImpl extends ServiceImpl<LeaseOrderInfoMapper,
.productMachineId(machineId)
.price(leaseMachinePrice.getPrice())
.pool(orderMiningInfoDto.getPoolName())
.user(orderMiningInfoDto.getPoolUser())
.user(StringUtils.isNotEmpty(orderMiningInfoDto.getPoolUser()) ? orderMiningInfoDto.getPoolUser() : orderMiningInfoDto.getWalletAddress())
.miner(orderMiningInfoDto.getWorkerId())
.coin(orderMiningInfoDto.getCoin())
.algorithm(orderMiningInfoDto.getAlgorithm())