修改库存

This commit is contained in:
2023-03-27 15:00:53 +08:00
parent caa92df22e
commit 4a0a162297
9 changed files with 157 additions and 85 deletions
@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace App\Amqp\Producer;
use Hyperf\Amqp\Annotation\Producer;
use Hyperf\Amqp\Message\ProducerMessage;
#[Producer(exchange: 'amqp.direct', routingKey: 'SendStationMessage')]
class SendStationMessageProducer extends ProducerMessage
{
/**
* @param $data
* [
* "notice_id":"通知消息表主键id"
* ]
*/
public function __construct($data)
{
$this->payload = $data;
}
}