Browse Source

增加查询用户明折充值折扣

alexzy 1 year ago
parent
commit
4f543f8b19
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/PromoteDiscountServiceInterface.php

+ 10 - 0
src/PromoteDiscountServiceInterface.php

@@ -24,4 +24,14 @@ interface PromoteDiscountServiceInterface
      */
     public function rechargeDiscount($promote_id, $game_id, $user_id, int $amount = 1, $default_discount = false): array;
 
+    /**
+     * 查询用户明折充值折扣
+     * @param $game_id
+     * @param $user_id
+     * @param int $amount
+     * @param mixed $default_discount
+     * @return array
+     */
+    public function userSpendDiscount($game_id, $user_id, int $amount = 1, $default_discount = false): array;
+
 }