Browse Source

取消限购的消费者报错 -- 也返回 MSG_ACK

shizhongqi 4 months ago
parent
commit
35ef9ab774
1 changed files with 2 additions and 1 deletions
  1. 2 1
      common/components/rabbitmq/cancelLimitBuyConsumer.php

+ 2 - 1
common/components/rabbitmq/cancelLimitBuyConsumer.php

@@ -52,7 +52,8 @@ class cancelLimitBuyConsumer implements ConsumerInterface
             }
         } catch (\Exception $e) {
             noticeUtil::push("取消限购的消费者报错:" . $e->getMessage());
-            return ConsumerInterface::MSG_REQUEUE;
+            //return ConsumerInterface::MSG_REQUEUE;
+            return ConsumerInterface::MSG_ACK;
         }
     }