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

29 lines
674 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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