新增分配药师队列、新增处方开具、修改接口
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Amqp\Producer;
|
||||
|
||||
use Hyperf\Amqp\Annotation\Producer;
|
||||
use Hyperf\Amqp\Message\ProducerMessage;
|
||||
use Hyperf\Amqp\Message\Type;
|
||||
|
||||
/**
|
||||
* 药师处方分配队列
|
||||
*/
|
||||
#[Producer(exchange: 'amqp.direct', routingKey: 'PrescriptionDistribute')]
|
||||
class PrescriptionDistributePhProducer extends ProducerMessage
|
||||
{
|
||||
public function __construct($data)
|
||||
{
|
||||
$this->payload = $data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user