This commit is contained in:
Samuel NELA 2021-03-31 00:39:02 +02:00 committed by GitHub
parent 8ac71cf05e
commit 73167cd0d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ php bin/hyperf.php gen:amqp-producer DemoProducer
```
We can modify the Producer annotation to replace exchange and routingKey.
Payloload is the data that is finally delivered to the message queue, so we can rewrite the _construct method easyly,just make sure payload is assigned.
Payload is the data that is finally delivered to the message queue, so we can rewrite the _construct method easily,just make sure payload is assigned.
```php
<?php