Procházet zdrojové kódy

增加查询充值折扣参数

alexzy před 2 roky
rodič
revize
9b6f6df317
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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;
 }