修改我的医生,新增优惠卷过期

This commit is contained in:
2023-04-14 14:26:28 +08:00
parent dc4f85f3d9
commit 882127a9bb
8 changed files with 149 additions and 89 deletions
@@ -1,30 +0,0 @@
<?php
declare(strict_types=1);
namespace App\Amqp\Producer;
use Hyperf\Amqp\Annotation\Producer;
use Hyperf\Amqp\Message\ProducerDelayedMessageTrait;
use Hyperf\Amqp\Message\ProducerMessage;
use Hyperf\Amqp\Message\Type;
/**
* 优惠卷过期
*/
#[Producer]
class CouponExpiredDelayDirectProducer extends ProducerMessage
{
use ProducerDelayedMessageTrait;
protected string $exchange = 'amqp.delay.direct';
protected string $type = Type::DIRECT;
protected string|array $routingKey = 'CouponExpired';
public function __construct($data)
{
$this->payload = $data;
}
}