新增用药天数

This commit is contained in:
2023-03-27 18:40:01 +08:00
parent 249c585724
commit 4fa343a9d3
6 changed files with 85 additions and 5 deletions
@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace App\Amqp\Producer;
use Hyperf\Amqp\Annotation\Producer;
use Hyperf\Amqp\Message\ProducerMessage;
/**
* 分配药师
*/
#[Producer(exchange: 'amqp.direct', routingKey: 'AssignPharmacist')]
class AssignPharmacistProducer extends ProducerMessage
{
/**
* @param $data
* [
* "order_prescription_id":"处方订单id"
* ]
*/
public function __construct($data)
{
$this->payload = $data;
}
}