Browse Source

增加渠道APP链接获取方法

alexzy 1 year ago
parent
commit
7676f36cc6
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/GameDownServiceInterface.php

+ 9 - 0
src/GameDownServiceInterface.php

@@ -23,6 +23,15 @@ interface GameDownServiceInterface
      */
     public function downUrl(string $game_id, $promote_id = 0, int $time = 100);
 
+    /**
+     * 获取渠道APP下载链接下载地址
+     * @param int $promote_id
+     * @param int $time
+     * @param int $code
+     * @return mixed
+     */
+    public function downAppUrl(int $promote_id = 0, int $time = 0, int $code = 0);
+
     /**
      * 获取加密游戏下载地址
      * @param string $token 临时token