Browse Source

查询当前用户是否首充

alexzy 1 year ago
parent
commit
96cbe6586d
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/PromoteDiscountServiceInterface.php

+ 7 - 0
src/PromoteDiscountServiceInterface.php

@@ -34,4 +34,11 @@ interface PromoteDiscountServiceInterface
      */
     public function userSpendDiscount($game_id, $user_id, int $amount = 1, $default_discount = false): array;
 
+    /**
+     * 查询用户当前是否首充
+     * @param $user_id
+     * @param $game_id
+     * @return array
+     */
+    public function getUserIsFirst($user_id, $game_id): array;
 }