| | |
| | | @RabbitListener(queues = QueueConstants.ORDER_RETURN_MONEY) |
| | | public void orderReturnMoney(String orderId) { |
| | | log.info("收到订单返利消息:{}", orderId); |
| | | |
| | | try { |
| | | memberProfitService.dynamicProfit(Long.parseLong(orderId)); |
| | | } catch (Exception e) { |
| | | log.error("订单返利异常:{}", e); |
| | | log.error("订单返利异常:", e); |
| | | } |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.SY_APP_ORDER_PAY_DONE) |
| | | public void syAppOrderPayDoneQueue(String orderNo) { |
| | | log.info("收到付款码支付成功:{}", orderNo); |
| | | try { |
| | | memberProfitService.syAppOrderPayDoneQueue(orderNo); |
| | | } catch (Exception e) { |
| | | log.error("付款码支付成功异常:", e); |
| | | } |
| | | } |
| | | } |