| 12345678910111213141516171819202122232425262728 |
- <?php
- namespace app\queue\redis\slow;
- use Webman\RedisQueue\Consumer;
- class ImportOrder implements Consumer
- {
- /**
- * 订单导入发货
- * 更新云打印件
- * @var string
- */
- public string $queue = "import-order";
- /**
- * 连接配置
- * @var string
- */
- public string $connection = "default";
- public function consume($data): bool
- {
- return true;
- }
- }
|