Ver Fonte

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

shizhongqi há 5 meses atrás
pai
commit
35ef9ab774
1 ficheiros alterados com 2 adições e 1 exclusões
  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) {
         } catch (\Exception $e) {
             noticeUtil::push("取消限购的消费者报错:" . $e->getMessage());
             noticeUtil::push("取消限购的消费者报错:" . $e->getMessage());
-            return ConsumerInterface::MSG_REQUEUE;
+            //return ConsumerInterface::MSG_REQUEUE;
+            return ConsumerInterface::MSG_ACK;
         }
         }
     }
     }