Browse Source

增加查询充值折扣

alexzy 2 years ago
parent
commit
f101df0a4f
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/RechargeServiceInterface.php

+ 10 - 0
src/RechargeServiceInterface.php

@@ -32,4 +32,14 @@ interface RechargeServiceInterface
      * @example {"status":1}
      */
     public function checkAccount(int $platform_id, string $third_id, string $user_name): array;
+
+    /**
+     * 查询充值折扣
+     * @param int $platform_id 平台ID
+     * @param string $third_id 第三方游戏标识
+     * @param string $user_name 用户名称
+     * @return array
+     * @example {"discount":0}
+     */
+    public function getDiscount(int $platform_id, string $third_id, string $user_name): array;
 }