Files
hospital-applets-api/app/Amqp/Producer/AutoPharmacistCaVerifyProducer.php
T

29 lines
674 B
PHP

<?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;
}
}