|
|
@@ -164,6 +164,9 @@ class UrsUserMapping extends ModelCore
|
|
|
'user_id' => $userId,
|
|
|
'mapping_time' => now(),
|
|
|
'status' => self::STATUS_VALID,
|
|
|
+ 'is_active' => self::ACTIVE_YES, // 新用户默认为活跃状态
|
|
|
+ 'last_activity_check' => now(), // 设置初始检查时间
|
|
|
+ 'active_days_count' => 1, // 新用户默认活跃天数为1
|
|
|
]
|
|
|
);
|
|
|
}
|