Browse Source

修改充值金额类型

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

+ 2 - 2
src/RechargeServiceInterface.php

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