dongasai hace 6 meses
padre
commit
6f6534f22f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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