From 765dbccf8fa6465380e48a6ff2428b246a73f7f5 Mon Sep 17 00:00:00 2001 From: weigang Date: Wed, 5 Aug 2020 15:41:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=9F=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Amqp/Consumer/couponRebateConsumer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Amqp/Consumer/couponRebateConsumer.php b/app/Amqp/Consumer/couponRebateConsumer.php index 7b04668..a4f7e27 100644 --- a/app/Amqp/Consumer/couponRebateConsumer.php +++ b/app/Amqp/Consumer/couponRebateConsumer.php @@ -18,6 +18,9 @@ class couponRebateConsumer extends ConsumerMessage { var_dump($data); var_dump($message->getBody()); + if (false) { + return Result::REQUEUE; + } return Result::ACK; }