Explorar el Código

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

alexzy hace 3 años
padre
commit
456669903e
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  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;
+
 }