|
|
@@ -49,8 +49,10 @@ class ptConsumer implements ConsumerInterface
|
|
|
$result = false;
|
|
|
}
|
|
|
|
|
|
- if ($result) {
|
|
|
+ if ($result == ConsumerInterface::MSG_ACK) {
|
|
|
return ConsumerInterface::MSG_ACK;
|
|
|
+ } elseif ($result == ConsumerInterface::MSG_REJECT){
|
|
|
+ return ConsumerInterface::MSG_REJECT;
|
|
|
} else {
|
|
|
noticeUtil::push("跑腿发单的消费者报错:Notify message processing failed", '15280215347');
|
|
|
return ConsumerInterface::MSG_REQUEUE;
|