新增处方队列执行,系统配置选择添加队列
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Amqp\Producer;
|
||||
|
||||
use Hyperf\Amqp\Annotation\Producer;
|
||||
use Hyperf\Amqp\Message\ProducerMessage;
|
||||
|
||||
/**
|
||||
* 药师自动签章审核
|
||||
* 医生签章后,加入此队列,下载医生签章pdf,并进行药师/医院签章审核
|
||||
*/
|
||||
#[Producer(exchange: 'amqp.direct', routingKey: 'AutoPharmacistCaVerify')]
|
||||
class AutoPharmacistCaVerifyProducer extends ProducerMessage
|
||||
{
|
||||
/**
|
||||
* @param $data
|
||||
* [
|
||||
* prescription_file_id:订单-处方表-ca处方文件主键
|
||||
* order_prescription_id:订单-处方id
|
||||
* ]
|
||||
*/
|
||||
public function __construct($data)
|
||||
{
|
||||
$this->payload = $data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user