Browse Source

新增兼容IOS下载链接获取

alexzy 4 months ago
parent
commit
2f5b0a5aa0
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/GameDownServiceInterface.php

+ 12 - 0
src/GameDownServiceInterface.php

@@ -23,6 +23,18 @@ interface GameDownServiceInterface
      */
     public function downUrl(string $game_id, $promote_id = 0, int $time = 100);
 
+    /**
+     * Notes: 创建游戏实际下载链接并绑定渠道参数
+     * Author: Alexzy
+     * DateTime: 2025/7/17 11:49
+     * @param int $game_id
+     * @param int $platform
+     * @param int $promote_id
+     * @param int $time
+     * @return mixed
+     */
+    public function createDownUrl(int $game_id, int $platform = 2, int $promote_id = 0, int $time = 100);
+
     /**
      * 获取渠道APP下载链接下载地址
      * @param int $promote_id