fix
Hentua
2024-01-24 7d4ba64492cc573169d869761cb8f40af97f729e
src/main/java/cc/mrbird/febs/common/configure/RabbitConfigure.java
@@ -119,7 +119,23 @@
    @Bean
    public Binding orderReturnMoneyBind() {
        return BindingBuilder.bind(agentReturnMoneyQueue()).to(agentReturnMoneyExchange()).with(RabbitQueueEnum.ORDER_RETURN_MONEY.getRoute());
        return BindingBuilder.bind(orderReturnMoneyQueue()).to(orderReturnMoneyExchange()).with(RabbitQueueEnum.ORDER_RETURN_MONEY.getRoute());
    }
    @Bean
    public DirectExchange orderCouponExchange() {
        return new DirectExchange(RabbitQueueEnum.ORDER_COUPON.getExchange());
    }
    @Bean
    public Queue orderCouponQueue() {
        return new Queue(QueueConstants.ORDER_COUPON);
    }
    @Bean
    public Binding orderCouponBind() {
        return BindingBuilder.bind(orderCouponQueue()).to(orderCouponExchange()).with(RabbitQueueEnum.ORDER_COUPON.getRoute());
    }
}