|
@@ -110,9 +110,6 @@ public class FamilyJoinRequestService {
|
|
|
throw new RuntimeException("用户不存在");
|
|
throw new RuntimeException("用户不存在");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // 准入校验:被邀请人必须已完善真实姓名/出生日期/性别(需求变更 2026-11-07-family-join-required-info)
|
|
|
|
|
- validateJoinRequiredInfo(currentUser);
|
|
|
|
|
-
|
|
|
|
|
// 检查用户是否已属于该家庭
|
|
// 检查用户是否已属于该家庭
|
|
|
if (currentUser.getFamilyId() != null && currentUser.getFamilyId().equals(family.getId())) {
|
|
if (currentUser.getFamilyId() != null && currentUser.getFamilyId().equals(family.getId())) {
|
|
|
throw new RuntimeException("您已是该家庭成员");
|
|
throw new RuntimeException("您已是该家庭成员");
|