Browse Source

增加查询游戏信息接口

alexzy 2 years ago
parent
commit
217e4388b1
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/RechargeServiceInterface.php

+ 9 - 0
src/RechargeServiceInterface.php

@@ -43,4 +43,13 @@ interface RechargeServiceInterface
      * @example {"discount":0}
      */
     public function getDiscount(int $platform_id, string $third_id, string $user_name, float $num): array;
+
+    /**
+     * 查询游戏信息
+     * @param int $platform_id
+     * @param string $third_id
+     * @return array
+     * @example {"down_url":0}
+     */
+    public function getGame(int $platform_id, string $third_id): array;
 }