|
|
@@ -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;
|
|
|
}
|