Browse Source

增加下架消息队列

alexzy 3 years ago
parent
commit
9fce11059f
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/QueueServiceInterface.php

+ 7 - 0
src/QueueServiceInterface.php

@@ -10,4 +10,11 @@ interface QueueServiceInterface
      * @return bool
      */
     public function push_notify_game(int $order_id): bool;
+
+    /**
+     * 生产延时消息队列
+     * @param int $game_id
+     * @param int $down_time
+     */
+    public function push_game_down(int $game_id, int $down_time): bool;
 }