diff --git a/consume/mall_add_supply_goods.go b/consume/mall_add_supply_goods.go index 9325ff2..7e42f7c 100644 --- a/consume/mall_add_supply_goods.go +++ b/consume/mall_add_supply_goods.go @@ -25,7 +25,7 @@ func MallAddSupplyGoodsConsume(queue md.MqQueue) { } defer ch.Release() //2、取出数据进行消费 - ch.Qos(1) + ch.Qos(10) delivery := ch.Consume(queue.Name, false) var res amqp.Delivery