Explorar el Código

增加生产游戏通知队列服务

alexzy hace 4 años
padre
commit
d65886b37a
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  1. 13 0
      src/QueueServiceInterface.php

+ 13 - 0
src/QueueServiceInterface.php

@@ -0,0 +1,13 @@
+<?php
+
+namespace Yxy\Service;
+
+interface QueueServiceInterface
+{
+    /**
+     * 生产游戏通知消息队列
+     * @param int $order_id
+     * @return bool
+     */
+    public function push_notify_game(int $order_id): bool;
+}