test方法

This commit is contained in:
Guoqs
2024-11-29 15:21:14 +08:00
parent 6af29eed56
commit 7a70db75ac
5 changed files with 18 additions and 7 deletions

View File

@@ -36,6 +36,6 @@ public class OrderRabbitListener {
// }
//由于配置设置了手动应答所以这里要进行一个手动应答。注意如果设置了自动应答这里又进行手动应答会出现double ack那么程序会报错。
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
// channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
}
}

View File

@@ -6,5 +6,5 @@ import lombok.Data;
public class TestRabbitMQDTO {
private String exchange;
private String routingKey;
private String data;
private Object data;
}

View File

@@ -479,7 +479,7 @@ public class DelayMerchantProgramLogic extends AbstractProgramLogic {
transactionService.doUpdateOrder(dto);
// 订单退款
// refundOrder(orderBasicInfo);
refundOrder(orderBasicInfo);
// 组装after参数
AfterSettleOrderDTO afterSettleOrderDTO = AfterSettleOrderDTO.builder()