dongasai 6 달 전
부모
커밋
6f6534f22f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Module/UrsPromotion/Services/UrsReferralService.php

+ 2 - 2
app/Module/UrsPromotion/Services/UrsReferralService.php

@@ -201,10 +201,10 @@ class UrsReferralService
      * 获取活跃用户数量
      *
      * @param int $userId 农场用户ID
-     * @param int $level
+     * @param int $level 等级
      * @return int 活跃用户数量(映射关系有效且用户活跃)
      */
-    public static function getTeamANumber($userId,$level): int
+    public static function getTeamANumber($userId,$level = 3): int
     {
 
         // 通过关系缓存表获取三代内所有的URS用户ID