Browse Source

增加普通游戏获取下载地址

alexzy 2 years ago
parent
commit
29b6e9674f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/GameDownServiceInterface.php

+ 2 - 1
src/GameDownServiceInterface.php

@@ -18,9 +18,10 @@ interface GameDownServiceInterface
      * 获取游戏下载地址
      * @param string $game_id 游戏ID
      * @param string|int $promote_id 渠道ID
+     * @param int $time 有效期(秒)
      * @return mixed
      */
-    public function downUrl(string $game_id, $promote_id = 0);
+    public function downUrl(string $game_id, $promote_id = 0, int $time = 100);
 
     /**
      * 获取加密游戏下载地址