Browse Source

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

alexzy 2 years ago
parent
commit
ac94827a57
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/GameDownServiceInterface.php

+ 8 - 0
src/GameDownServiceInterface.php

@@ -16,6 +16,14 @@ interface GameDownServiceInterface
 
     /**
      * 获取游戏下载地址
+     * @param string $game_id 游戏ID
+     * @param string|int $promote_id 渠道ID
+     * @return mixed
+     */
+    public function downUrl(string $game_id, $promote_id = 0);
+
+    /**
+     * 获取加密游戏下载地址
      * @param string $token 临时token
      * @param string $password 对应密码
      * @return mixed