Browse Source

增加查询充值折扣参数

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

+ 2 - 1
src/RechargeServiceInterface.php

@@ -38,8 +38,9 @@ interface RechargeServiceInterface
      * @param int $platform_id 平台ID
      * @param string $third_id 第三方游戏标识
      * @param string $user_name 用户名称
+     * @param int $num 充值金额
      * @return array
      * @example {"discount":0}
      */
-    public function getDiscount(int $platform_id, string $third_id, string $user_name): array;
+    public function getDiscount(int $platform_id, string $third_id, string $user_name, int $num): array;
 }