ImportOrder.php 421 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace app\queue\redis\slow;
  3. use Webman\RedisQueue\Consumer;
  4. class ImportOrder implements Consumer
  5. {
  6. /**
  7. * 订单导入发货
  8. * 更新云打印件
  9. * @var string
  10. */
  11. public string $queue = "import-order";
  12. /**
  13. * 连接配置
  14. * @var string
  15. */
  16. public string $connection = "default";
  17. public function consume($data): bool
  18. {
  19. return true;
  20. }
  21. }