| | |
| | | |
| | | } |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.QUEUE_FCM_NFT_EXCHANGE) |
| | | public void fcmNFTExchangeMsg(String cnt) { |
| | | log.info("收到FCM实时兑换销毁数量:{}",cnt); |
| | | try { |
| | | memberProfitService.fcmNFTExchangeMsg(cnt); |
| | | } catch (Exception e) { |
| | | log.error("收到FCM实时兑换销毁数量异常", e); |
| | | // todo 更新表 |
| | | |
| | | } |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.QUEUE_FCM_ORDER_SELL_INSURE) |
| | | public void fcmOrderSellInsureMsg(Long sellRecordId) { |
| | | log.info("收到卖单用户确认:{}",sellRecordId); |
| | | try { |
| | | memberProfitService.fcmOrderSellInsureMsg(sellRecordId); |
| | | } catch (Exception e) { |
| | | log.error("收到卖单用户确认异常", e); |
| | | // todo 更新表 |
| | | |
| | | } |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.QUEUE_FCM_ORDER_BUY_CANCEL) |
| | | public void fcmOrderBuyCancelMsg(Long buyRecordId) { |
| | | log.info("收到买单取消确认:{}",buyRecordId); |
| | | try { |
| | | memberProfitService.fcmOrderBuyCancelMsg(buyRecordId); |
| | | } catch (Exception e) { |
| | | log.error("收到买单取消确认异常", e); |
| | | // todo 更新表 |
| | | |
| | | } |
| | | } |
| | | |
| | | @RabbitListener(queues = QueueConstants.QUEUE_FCMPAY_BUY_TIME) |
| | | public void fcmPayBuyTimeTTLMsg(Long id) { |
| | | try { |
| | | orderInfoService.fcmPayBuyTimeTTLMsg(id); |
| | | } catch (Exception e) { |
| | | log.error("订单待收款异常", e); |
| | | } |
| | | } |
| | | } |