瀏覽代碼

增加查询游戏信息接口

alexzy 2 年之前
父節點
當前提交
217e4388b1
共有 1 個文件被更改,包括 9 次插入0 次删除
  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;
 }