update 增加重试机制及死信队列
This commit is contained in:
@@ -1087,16 +1087,16 @@ public class LeaseUserServiceImpl extends ServiceImpl<LeaseUserMapper, LeaseUser
|
||||
}else{
|
||||
for (UserWalletDataDto userWalletDataDto : userWalletDataDtoList) {
|
||||
if (userWalletDataDto.getFromSymbol().equals(chainAndCoinVo.getCoin())){
|
||||
////开发环境
|
||||
//sendMessage(UserWalletDataDto.builder()
|
||||
// .queueId(userWalletDataDto.getQueueId())
|
||||
// .fromAddress(userWalletDataDto.getFromAddress())
|
||||
// .fromChain(chainAndCoinVo.getChain())
|
||||
// .fromSymbol(chainAndCoinVo.getCoin())
|
||||
// .balance(BigDecimal.ZERO)
|
||||
// .userId(userWalletDataDto.getUserId())
|
||||
// .qrcode(userWalletDataDto.getQrcode())
|
||||
// .build(),username,authId);
|
||||
//开发环境
|
||||
sendMessage(UserWalletDataDto.builder()
|
||||
.queueId(userWalletDataDto.getQueueId())
|
||||
.fromAddress(userWalletDataDto.getFromAddress())
|
||||
.fromChain(chainAndCoinVo.getChain())
|
||||
.fromSymbol(chainAndCoinVo.getCoin())
|
||||
.balance(BigDecimal.ZERO)
|
||||
.userId(userWalletDataDto.getUserId())
|
||||
.qrcode(userWalletDataDto.getQrcode())
|
||||
.build(),username,authId);
|
||||
return Result.success(userWalletDataDto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user