diff --git a/consume/zhios_acquisition_condition.go b/consume/zhios_acquisition_condition.go index 787ae22..47ae4c0 100644 --- a/consume/zhios_acquisition_condition.go +++ b/consume/zhios_acquisition_condition.go @@ -42,7 +42,6 @@ func ZhiosAcquisitionCondition(queue md.MqQueue) { if err == nil { _ = res.Ack(true) } else { - _ = res.Reject(false) var canalMsg *md.ZhiosAcquisition var tmpString string diff --git a/consume/zhios_fast_return_order_pay.go b/consume/zhios_fast_return_order_pay.go index 15d83da..f12b5e0 100644 --- a/consume/zhios_fast_return_order_pay.go +++ b/consume/zhios_fast_return_order_pay.go @@ -28,7 +28,7 @@ func ZhiosFastReturnOrderPay(queue md.MqQueue) { //1、将自己绑定到交换机上 ch.Bind(queue.Name, queue.ExchangeName, queue.RoutKey) //2、取出数据进行消费 - ch.Qos(5) + ch.Qos(20) delivery := ch.Consume(queue.Name, false) var res amqp.Delivery @@ -44,7 +44,6 @@ func ZhiosFastReturnOrderPay(queue md.MqQueue) { if err == nil { _ = res.Ack(true) } else { - _ = res.Reject(false) var canalMsg *md.ZhiosFatReturnOrderPay var tmpString string err := json.Unmarshal(res.Body, &tmpString)