|  |  |  | 
|---|
|  |  |  | public Binding autoLevelUpBind() { | 
|---|
|  |  |  | return BindingBuilder.bind(autoLevelUpAgentQueue()).to(defaultExchange()).with(RouteKeyConstants.ROUTE_KEY_DEFAULT); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 订单返利 开始 | 
|---|
|  |  |  | @Bean | 
|---|
|  |  |  | public DirectExchange agentReturnMoneyExchange() { | 
|---|
|  |  |  | return new DirectExchange(RabbitQueueEnum.AGENT_REUTRN_MONEY.getExchange()); | 
|---|
|  |  |  | return new DirectExchange(RabbitQueueEnum.AGENT_RETURN_MONEY.getExchange()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Bean | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Bean | 
|---|
|  |  |  | public Binding agentReturnMoneyBind() { | 
|---|
|  |  |  | return BindingBuilder.bind(agentReturnMoneyQueue()).to(agentReturnMoneyExchange()).with(RabbitQueueEnum.AGENT_REUTRN_MONEY.getRoute()); | 
|---|
|  |  |  | return BindingBuilder.bind(agentReturnMoneyQueue()).to(agentReturnMoneyExchange()).with(RabbitQueueEnum.AGENT_RETURN_MONEY.getRoute()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 订单返利 结束 | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Bean | 
|---|