新增分配药师队列、新增处方开具、修改接口

This commit is contained in:
2023-03-02 09:34:31 +08:00
parent e047f4971c
commit d51d5355a0
15 changed files with 592 additions and 83 deletions
@@ -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;
}
}