|
|
@@ -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
|