소스 검색

增加查询充值折扣

alexzy 2 년 전
부모
커밋
f101df0a4f
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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;
 }