@ -134,6 +134,8 @@ func (r *rabbitmq) PublishWithContext(ctx context.Context, exchangeName, key, ms
false, //立即
amqp.Publishing{
ContentType: "text/plain",
DeliveryMode: amqp.Persistent,
Timestamp: time.Now(),
Body: []byte(msg),
Headers: header,
})