Quellcode durchsuchen

增加渠道用户折扣信息查询

alexzy vor 3 Jahren
Ursprung
Commit
456669903e
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  1. 10 0
      src/PromoteDiscountServiceInterface.php

+ 10 - 0
src/PromoteDiscountServiceInterface.php

@@ -12,4 +12,14 @@ interface PromoteDiscountServiceInterface
      */
     public function discountInfo(int $promote_id, int $game_id): array;
 
+    /**
+     * 查询渠道用户折扣信息
+     * @param $promote_id
+     * @param $game_id
+     * @param $user_id
+     * @param mixed $default_discount
+     * @return array
+     */
+    public function rechargeDiscount($promote_id, $game_id, $user_id, $default_discount = false): array;
+
 }