Browse Source

Merge branch 'dev/2024/0822/update-app-Y' of Harper/feifan-backend-zx-app into master

补漏定时查询支付订单3
Yangzw 2 months ago
parent
commit
85e52f2afb

+ 2 - 0
feifan-module-distri/feifan-module-distri-biz/src/main/java/cn/newfeifan/mall/module/distri/mq/consumer/topupconsumptionpoints/TopUpConsumptionPointsConsumer.java

@@ -4,9 +4,11 @@ import cn.newfeifan.mall.module.distri.service.usertopupconsumptionpointsorder.U
 import cn.newfeifan.mall.module.pay.dal.dataobject.order.PayOrderDO;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.context.event.EventListener;
+import org.springframework.stereotype.Component;
 
 import javax.annotation.Resource;
 
+@Component
 @Slf4j
 public class TopUpConsumptionPointsConsumer {
 

+ 1 - 0
feifan-module-pay/feifan-module-pay-biz/src/main/java/cn/newfeifan/mall/module/pay/topupconsumptionpoints/TopUpConsumptionPointsProducer.java

@@ -20,6 +20,7 @@ public class TopUpConsumptionPointsProducer {
      * @param payOrder 支付订单
      */
     public void sendTradeOrderMessage(PayOrderDO payOrder) {
+        log.info("app端发送订单消息:{}", payOrder);
         applicationContext.publishEvent(payOrder);
     }
 }